plot_design() plots the specified within and between design
plot_design(input, ..., geoms = NULL, palette = "Dark2") # S3 method for design plot(input, ..., geoms = NULL, palette = "Dark2") # S3 method for faux plot(input, ..., geoms = NULL, palette = "Dark2")
| input | A list of design parameters created by check_design() or a data tbl (in long format) |
|---|---|
| ... | A list of factor names to determine visualisation (see vignette) |
| geoms | A list of ggplot2 geoms to display, defaults to "pointrangeSD" (mean ± 1SD) for designs and c("violin", "box") for data, options are: pointrangeSD, pointrangeSE, violin, box, jitter |
| palette | A brewer palette, defaults to "Dark2" |
plot
plot: Plotting from a faux design list
plot: Plotting from a faux data table
within <- list(time = c("day", "night")) between <- list(pet = c("dog", "cat")) des <- check_design(within, between, plot = FALSE) plot_design(des)