Description Usage Arguments Author(s) See Also Examples
Function to create dotplots, boxplots, and design plot (means) for single factor designs
1 | oneway.plots(Y, fac1, COL = c("#A9E2FF", "#0080FF"))
|
Y |
response variable for a single factor design |
fac1 |
predictor variable (factor) |
COL |
a vector with two colors |
Alan T. Arnholt <arnholtat@appstate.edu>
1 2 3 4 5 6 | with(data = TIRE, oneway.plots(stopdist, tire))
## Similar graphs with ggplot2
ggplot(data = TIRE, aes(tire, stopdist, fill = tire)) +
geom_dotplot(binaxis = "y", stackdir = "center") + coord_flip() + theme_bw()
ggplot(data = TIRE, aes(tire, stopdist, fill = tire)) + geom_boxplot() +
guides(fill = "none") + theme_bw()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.