R/make_choose_one_table.R
make_choose_one_table.Rd
Pass this function either 1) a labeled factor or 2)
a data frame and also
a factor in the frame, and it will return a janitor
-style table.
Use subset = TRUE if you are making a report on a variable that is part of
a choose all that apply question.
make_choose_one_table(arg1, arg2, subset = FALSE)
data frame that has a factor or a factor name
if arg1 is a data frame, this is a factor name
can be equal to TRUE/FALSE. This option removes extra variable name text from the label. This option is useful for choose all that apply questions.
a table