Description Usage Arguments Examples
This function creates a horizontal bar graph for an MCMO question
1 2 | graph_mcmo(item, sort = "alpha", custom = NULL, stat = "count",
fill = "seagreen", ...)
|
item |
Data vector from MCMO question |
sort |
Specifies the order of the items in the graph. Options include:
|
custom |
If |
stat |
The statistic for the frequency, either |
fill |
Specifies the color of the bars in the graph, default is "seagreen." See <http://sape.inf.usi.ch/quick-reference/ggplot2/colour> for color references |
1 2 | # Graphs an MCMO question
graph_mcmo(survey$Q3, sort="custom", custom=c("Grains", "Fruits", "Vegetables"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.