Description Usage Arguments Value Examples
View source: R/survey_response_barplot.R
Take a consultation response spreadsheet, and turn it into a barplot for each column. This uses the question_types() function to clean data first, including aggregating small categories and detecting free text columns. It then makes barplots on the basis of the frequency tables produced by survey_response_tables().
1 | survey_response_barplot(dummy_response, qtypes)
|
dummy_response |
dataframe |
qtypes |
list with elements categorical, multichoice, and freetext containing vectors of column names |
list of ggplot2 objects
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.