Description Usage Arguments Details Value
Create a bi-variate plot that describes the results of two questions
1 2 | plotTwoQuestions(x, id1, id2, levels1 = NULL, levels2 = NULL,
plot_style = NULL)
|
x |
List of data.frames, each with clean results for a single question |
id1 |
Index of the first question |
id2 |
Index of the second question |
levels1 |
Ordered factor levels for the first question |
levels2 |
Ordered factor levels for the second question |
plot_style |
Plot style ("bar", "grid", "dot", "boxplot", "violin") |
Question type will dictate the plot that is produced:
dropdown/list vs. dropdown/list – faceted bar graph
A plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.