Description Usage Arguments Value
The 'model1' function will return simple slopes at -1 SD, M, and +1 SD of a continuous moderator, or at the two levels of a dichotomous moderator. If you want some other value, you can use this function, where you specify your own value at the moderator that you want to see the simple slope at.
1 | simple_slope(iv, dv, mod, value, data)
|
iv |
The name of the independent variable, as a character string. |
dv |
The name of the dependent variable, as a character string. |
mod |
The name of the moderator, as a character string. |
value |
The numeric value that you want to see the simple slope at. |
data |
The data frame with the relevant variables. |
The coefficient, standard error, t-statistic, and p-value of the simple slope.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.