Skip to contents

Integer column maker

Usage

int_maker(size, missing = FALSE)

Arguments

size

how many rows?

missing

logical, include missing?

Examples

int_maker(2)
#> [1] 1 7
int_maker(2, TRUE)
#> [1]  7 NA
int_maker(3)
#> [1]  1 10 20
int_maker(3, TRUE)
#> [1]  1 20 NA
int_maker(5, TRUE)
#> [1]   1  74 148  NA   1
int_maker(10, TRUE)
#>  [1]     1  3671  7342 11013 14684 18355 22026    NA     1  3671