Description Usage Arguments Value Examples
View source: R/plot_functions.R
Creates the profile plots from the estimated marginal means
1 2 | create_emmeans_profileplot(data_plot, x_variable = "TASK_GRA",
y_variable = "emmean", group_variable = "TASK")
|
data_plot |
a data_frame containing the estimated marginal means for each level of x_variable and group_variable |
x_variable |
column name in data_plot that contains the factor for x-axis, e.g. "TASK_GRA" |
y_variable |
column name in data_plot that contains the estimated marginal means |
group_variable |
column name in data_plot that contains the factor for which seperate profile plots will be shown for each level |
a ggplot object containing the profile plot
1 2 3 | emmeans_CORRECTNESS <- reproduce_emmeans_CORRECTNESS()
create_emmeans_profileplot(data_plot= emmeans_CORRECTNESS,
x_variable="TASK_GRA", y_variable="emmean", group_variable="TASK")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.