makeIndirectEquationCat2: Make indirect equation for categorical variables

View source: R/multipleMediation.R

makeIndirectEquationCat2R Documentation

Make indirect equation for categorical variables

Description

Make indirect equation for categorical variables

Usage

makeIndirectEquationCat2(
  X,
  M,
  temp1,
  temp2,
  temp3,
  moderatorNames,
  range = TRUE,
  data = NULL,
  rangemode = 1,
  probs = c(0.16, 0.5, 0.84),
  serial = FALSE,
  contrast = 1
)

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]

serial

logical If TRUE, serial variables are added

contrast

integer If 2, absolute difference of contrasts are calculated


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