Description Usage Arguments Value
View source: R/generateVisuals.R
Plot single triangle vs single factor with specification of side, labels, and titles
1 2 3 4 5 6 7 8 9 |
save |
Logical indicating whether to save produced plots in output folder |
ternary: |
Question object of type Triangle |
factor: |
Question object of type MCQ or MCQ_Checkbox Question object |
varIndex: |
int 1-3 indicating which side of the Triangle to use (1=left, 2=bottom, 3=right) |
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.