indirectEffect: indirectEffect

Description Usage Arguments Value

View source: R/mediations.R

Description

Takes a permediatrMod or permediatrPermMod object and extracts the estimate of the indirect effect.

Usage

1

Arguments

x

a permediatrMod object

Value

an indirectEffect object, with elements ab, the indirect effect estiamte, warnings, a vector of warnings, and singular, a vector of logicals indicating if convergence was singular.


jflournoy/permediatr documentation built on Dec. 10, 2019, 11:34 a.m.