View source: R/questionnaire_tools.R
plot_scored_scale | R Documentation |
Plot Scored Scale
plot_scored_scale( aDF, scale_regx = ".*", type = "score", by_gender = FALSE, gender_var = NA )
aDF |
a scored data frame in long format with columns |
scale_regx |
a regular expression that selects scales from column |
type |
Can be 'score', 'n_missing' (aDF must have column |
by_gender |
logical flag to facet by gender. |
gender_var |
name of the column that contains gender information for faceting. |
a gggplot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.