lazy_plot | R Documentation |
This function provides means for plotting lazy models
lazy_plot(
lazy_model,
dv,
ivs = NULL,
fun.sum = mean,
fun.error = sd,
p.scale_fill_manual = NULL,
p.basesize = 10,
p.title = NULL,
theme.fontfamily = NULL,
na.rm = FALSE,
position = "dodge",
collapse_trials = FALSE
)
lazy_model |
the data in tidy format |
dv |
the name of the column containing the dependent variable |
ivs |
(optional) a vector of strings containing names of the columns identifying the independent variables to plot |
fun.sum |
(optional) the summary function to use. Defaults to mean. |
fun.error |
(optional) the error function to use. Defaults to sd. |
p.scale_fill_manual |
(optional) a color scale for the plot |
p.basesize |
(optional) font size of the plot |
p.title |
(optinal) a title |
theme.fontfamily |
(optional) a font for your plot. Must be registered using extrafont. |
na.rm |
(default = false) if NAs should be removed before plotting |
position |
= "dodge" (default = dodge) if NAs should be removed before plotting |
collapse_trials |
(default = false) if trials should be averaged per participant before plotting |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.