View source: R/hayes_plot_model_1.R
hayes_plot_model_1 | R Documentation |
A function to visualize the interactions provided by a the Process Hayes macro. Only works with hayesData objects, which are the data class produced by 'read_hayes_plot_data'.
hayes_plot_model_1( hayes_data, title = NULL, xlab = NULL, ylab = NULL, legend_title = NULL, SD = F, colorblind = F, APA = F )
hayes_data |
An object of class HayesData, containing the relevant information extracted from the Process Hayes output |
title |
Title of the plot |
xlab |
X axis label |
ylab |
Y axis label |
legend_title |
Title above the legend |
SD |
whether the labels of the legend should be replaced with +/-1 SD |
colorblind |
Whether colorblind-safe colors should be used. If true, uses colors from the colorblind_1 palette in this package. |
APA |
Whether black and white colors should be used. |
A GGPlot object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.