as_leveler | R Documentation |
Level-defining helper functions
as_leveler(x, .start_index = 1)
is_leveler(x)
lvl_bin(x = c("No", "Yes"), .start_index = 0)
lvl_sex()
lvl_inord(x, .start_index = 1)
x |
< |
.start_index |
< |
Special character vector suitable to be used as leveler
set_var_levels(xpdb_x,
SEX = lvl_sex(),
MED1 = lvl_bin(),
MED2 = lvl_inord(c("n","y"), .start_index = 0)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.