Just a wrapper around boxplot function. To set which level is plot first, consider using the function factor and set the argument levels.
1 2 3 4 |
data |
data.frame with the data |
dv |
Dependent variable. The one you want on the y-axis |
iv1 |
First independent variable |
iv2 |
Second independent variable |
colors |
Colors of the bars of the boxplot |
ylim |
Limit of y axis |
ylab |
Label of y axis |
outma |
outma for setting par |
margin |
margin for setting par |
mgp |
mgp for setting par |
legend.text |
Text for the legend |
legend.color |
List of color for the legend |
legend.xy |
x and y position of the legend |
... |
passed to graphics::boxplot function |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.