Skip to contents

Logical column maker

Usage

log_maker(size, missing = FALSE)

Arguments

size

how many rows?

missing

logical, include missing?

Examples

log_maker(2)
#> [1]  TRUE FALSE
log_maker(2, TRUE)
#> [1] TRUE   NA
log_maker(3)
#> [1]  TRUE FALSE  TRUE
log_maker(3, TRUE)
#> [1]  TRUE FALSE    NA