Description Usage Arguments Examples
This function creates a horizontal bar graph for an MCSO option question
1 | graph_mcso(item, sort = "alpha", custom = NULL, fill = "dodgerblue4", ...)
|
item |
Data vector from MCSO question |
sort |
Specifies the order of the items in the graph, default is "alpha."
Options include: |
custom |
If |
fill |
Specifies the color of the bars in the graph, default is "dodger blue 4." See <http://sape.inf.usi.ch/quick-reference/ggplot2/colour> for color references |
1 2 | # Graphs an MCSO question
graph_mcso(survey$Q4, 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.