twoway_interaction_plot | R Documentation |
Interaction plot using expected marginal means
twoway_interaction_plot(model, iv1, iv2, ylab, text_size = 8)
model |
A model such as afex::aov_car of a two-way interaction. |
iv1 |
One of the two independent variables (variable name must be quoted) |
iv2 |
The other of the two independent variables (variable name must be quoted) |
ylab |
The y-axis label |
text_size |
The size of the font in the legend |
A patchwork
object
M <- afex::aov_car(nc_erp ~ category + Error(id/change), data = catknowledge) twoway_interaction_plot(M, 'category', 'change', ylab = 'Nc ERP amplitude')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.