extractIMM: extract index of moderated mediation from string

View source: R/extractIMM.R

extractIMMR Documentation

extract index of moderated mediation from string

Description

extract index of moderated mediation from string

Usage

extractIMM(string)

Arguments

string

A string

Examples

string="(a1+a3*age.mean)*(b1+b3*age.mean)"
string="(a1+a3*skeptic.mean)*(b1+b2*skeptic.mean+b4*Z.mean)"
string="(a1+a3*age.mean)*(b)"
string="(a1+a3*4.12)*(b)"
string="(a)*(b)"
extractIMM(string)

processR documentation built on Jan. 23, 2023, 5:44 p.m.