Description Usage Arguments Value See Also
View source: R/compute_marginal_effect.R
Compute the moderated direct paths coefficients for analayses of moderated mediations.
1 2 | compute_marginal_effect(coefficients, moderations, indep, mediate = NA,
dep, moderate, p)
|
coefficients |
Tibble. Output of the function compute_coefficients. |
moderations |
Tibble. Output of the function retrieve_modval with option "allval" TRUE. |
indep |
Character. Name of the independent variable. |
mediate |
Character. Name of the mediating variable (if indirect path). |
dep |
Character. Name of the dependent variable. |
moderate |
Character. Name of the moderating variable. |
p |
Double. Significance threshold. |
A tibble gathering the coefficient associating the independent pas dependent variables for all values of the moderator.
analyze_path
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.