Learn R Programming

rosetta (version 0.3.12)

prepIMM3d: Computes Index of moderated mediation of gemm object

Description

Computes Index of moderated mediation of gemm object

Usage

prepIMM3d(M1, M2, parEst = parEst, i = 1)

Value

vector of index of moderated mediation with CI limits for a given mediator

Arguments

M1

moderator of x-m path

M2

moderator of m-y path

parEst

parameter estimates from lavaan results

i

index of vector of mediators names