Learn R Programming

networksem (version 0.4)

path.networksem: Calculate a mediation effect from a networksem model

Description

Calculate a mediation effect from a networksem model

Usage

path.networksem(res, predictor, mediator, outcome)

Value

a target path, associated estimates, and z-score

Arguments

res

a networksem output file

predictor

a character string of the predictor variable

mediator

a character string of the mediator variable

outcome

a character string of the outcome variable