View source: R/multipleMediation.R
makeIndirectEquationCat2 | R Documentation |
Make indirect equation for categorical variables
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 )
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.