Description Usage Arguments Value
View source: R/generateVisuals.R
Plot single marble vs single factor with specification of sub-marble-index, axis, labels, and titles
1 2 3 4 5 6 7 8 9 10 |
save |
Logical indicating whether to save produced plots in output folder |
marble: |
Question object of type Marble |
factor: |
Question object of type MCQ or MCQ_Checkbox |
varIndex: |
integer indicating the index of the Marble to be used |
axis: |
integer equal to 1 or 2 dictating x or y axis respectively |
title: |
String containing the title for the generated plot (optional) |
ylab: |
String containing the Y label for the generated plot (optional) |
xlab: |
Vector containing 2 Strings to label the x axis in the negative and positive direction respectively (optional) |
a ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.