Description Usage Arguments Value See Also Examples
These objects are imported from other packages. Follow the links below to see their documentation.
autoplot
1 2 3 4 5 6 7 8 9 10 11 12 |
object |
An object to create a plot for. Currently objects from the |
rotation |
Rotate the text output as Treatments within the plot. Allows for easier reading of long treatment labels. Number between 0 and 360 (inclusive) - default 0 |
size |
Increase or decrease the text size within the plot for treatment labels. Numeric with default value of 4. |
label_height |
Height of the text labels above the upper error bar on the plot. Default is 0.1 (10%) of the difference between upper and lower error bars above the top error bar. |
... |
Other arguments to be passed through. |
margin |
Logical (default |
palette |
A string specifying the colour scheme to use for plotting. Default is equivalent to "Spectral". Colour blind friendly palettes can also be provided via options |
A ggplot2
object.
1 2 3 4 5 6 7 8 9 10 11 12 | dat.aov <- aov(Petal.Width ~ Species, data = iris)
output <- mct.out(dat.aov, classify = "Species")
autoplot(output, label_height = 0.5)
des.out <- design(type = "crd", treatments = c(1, 5, 10, 20),
reps = 5, nrows = 4, ncols = 5, seed = 42, plot = FALSE)
autoplot(des.out)
# Colour blind friendly colours
autoplot(des.out, palette = "colour-blind")
# Alternative colour scheme
autoplot(des.out, palette = "plasma")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.