extractModerator: Extract name of moderator from string

View source: R/extractIMM.R

extractModeratorR Documentation

Extract name of moderator from string

Description

Extract name of moderator from string

Usage

extractModerator(string)

Arguments

string

A string

Examples

string="(a1+a3*age.mean)*(b1+b3*age.mean)"
string="(a1+a3*age.mean)*(b)"
string="(a1+a3*4.12)*(b)"
string="(a)*(b)"
extractNumber(string)
extractModerator(string)

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