Description Usage Arguments Value
Cleaned data.frame of question choicses ready for plotting. This function works for regular matrix and multiple choices questions. It calls a SBS matrix specific function if a sbs matrix question is provided
1 2 3 4 5 6 | get_choices(
choices_df,
choice_wrap = NULL,
choice_factor = FALSE,
choice_rev = FALSE
)
|
choices_df |
choices sub object (DF) pulled from the qsurvey object. |
choice_wrap |
int - the number of characters at which you want to wrap a line, DEFAULT = NULL |
choice_factor |
BOOL, whether you want choicse to be a factor or not DEFAULT = FALSE |
choice_rev |
BOOL, whether you want to SWITCH the order of factored choices. REQUIRES factor = TRUE to be set DEFAULT = FALSE |
data.frame of choices ready to be merged with the main question df
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.