simple.mediation: fit a simple mediation model

Description Usage Arguments Value

View source: R/mediation.R

Description

give the parameter estimates of a simple mediation model

Usage

1
simple.mediation(rxm = -2, rxy = -2, rym = -2, nobs = 0)

Arguments

rxm

input of the correlation between X and M

rxy

input of the correlation between X and Y

rym

input of the correlation between Y and M

nobs

input of the number of observations in your sample

Value

product of the two input numbers


linqinyu/Test documentation built on May 16, 2019, 9:10 p.m.