makeIndirectEquationCat: Make indirect equation for categorical variables

View source: R/catMediation.R

makeIndirectEquationCatR Documentation

Make indirect equation for categorical variables

Description

Make indirect equation for categorical variables

Usage

makeIndirectEquationCat(
  X,
  M,
  temp1,
  temp2,
  temp3,
  moderatorNames,
  range = TRUE,
  data = NULL,
  rangemode = 1,
  probs = c(0.16, 0.5, 0.84),
  grouplabels = list()
)

Arguments

X

A character vector

M

A character vector

temp1

A character vector

temp2

A character vector

temp3

A character vector

moderatorNames

A character vector

range

A logical

data

A data.frame

rangemode

range mode

probs

numeric vector of probabilities with values in [0,1]

grouplabels

A list


cardiomoon/processR documentation built on April 20, 2023, 3:38 a.m.