mergeDataPosInd: Merge Data with position for the indirect effect

View source: R/mediationPlot.R

mergeDataPosIndR Documentation

Merge Data with position for the indirect effect

Description

Merge Data with position for the indirect effect

Usage

mergeDataPosInd(resInd, res, df2, whatLabels = "est", width = 5, height = 3)

Arguments

resInd

A data.frame.A subset of result of parameterEstimates function of package lavaan

res

A data.frame. Result of parameterEstimates function of package lavaan or subset.

df2

A data.grame

whatLabels

What should the edge labels indicate in the path diagram? Choices are c("est","std","name").

width

A number indicating width of the rectangle

height

A number indicating height of the rectangle


cardiomoon/semMediation documentation built on Nov. 16, 2023, 4:26 a.m.