Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

makeIndirectEquationCat2

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

Implementation of the 'PROCESS' Macro

v0.2.6
GPL-2
Authors
Keon-Woong Moon [aut, cre], Sokyoung Hong [ctb]
Initial release
2021-1-5

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.