Skip to contents

Binary column maker

Usage

bin_maker(bin_type, size, missing = FALSE)

Arguments

bin_type

binary column type

size

how many rows?

missing

logical, include missing?

Examples

bin_maker(type = "log", size = 2)
#> Error in bin_maker(type = "log", size = 2): unused argument (type = "log")
bin_maker(type = "log", size = 2, missing = TRUE)
#> Error in bin_maker(type = "log", size = 2, missing = TRUE): unused argument (type = "log")
bin_maker(type = "int", size = 10)
#> Error in bin_maker(type = "int", size = 10): unused argument (type = "int")
bin_maker(type = "int", size = 10, missing = TRUE)
#> Error in bin_maker(type = "int", size = 10, missing = TRUE): unused argument (type = "int")
bin_maker(type = "chr", size = 10)
#> Error in bin_maker(type = "chr", size = 10): unused argument (type = "chr")
bin_maker(type = "chr", size = 10, missing = TRUE)
#> Error in bin_maker(type = "chr", size = 10, missing = TRUE): unused argument (type = "chr")
bin_maker(type = "fct", size = 10)
#> Error in bin_maker(type = "fct", size = 10): unused argument (type = "fct")
bin_maker(type = "fct", size = 10, missing = TRUE)
#> Error in bin_maker(type = "fct", size = 10, missing = TRUE): unused argument (type = "fct")
bin_maker(type = "ord", size = 10)
#> Error in bin_maker(type = "ord", size = 10): unused argument (type = "ord")
bin_maker(type = "ord", size = 10, missing = TRUE)
#> Error in bin_maker(type = "ord", size = 10, missing = TRUE): unused argument (type = "ord")