compute_marginal_effect: Compute the moderated direct paths coefficients for analayses...

Description Usage Arguments Value See Also

View source: R/compute_marginal_effect.R

Description

Compute the moderated direct paths coefficients for analayses of moderated mediations.

Usage

1
2
compute_marginal_effect(coefficients, moderations, indep, mediate = NA,
  dep, moderate, p)

Arguments

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.

Value

A tibble gathering the coefficient associating the independent pas dependent variables for all values of the moderator.

See Also

analyze_path


NicolasJBM/modestim documentation built on Aug. 26, 2019, 5:29 a.m.