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

View source: R/netsem_summary.R

path.networksemR Documentation

Calculate a mediation effect from a networksem model

Description

Calculate a mediation effect from a networksem model

Usage

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

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

Value

a target path, associated estimates, and z-score


networksem documentation built on June 8, 2025, 10:33 a.m.