Description Usage Arguments Examples
View source: R/tripleInteraction.R
Treat moderator name with mean value
1 2 | treatModerator(ind, moderatorNames, data = NULL, rangemode = 1,
probs = c(0.16, 0.5, 0.84))
|
ind |
An equation |
moderatorNames |
character vectors |
data |
A data.frame |
rangemode |
range mode |
probs |
numeric vector of probabilities with values in [0,1] |
1 2 3 4 5 6 | ind="(a1+a4*sex+a5*age)*(b1)"
moderatorNames=c("age","sex")
treatModerator(ind,moderatorNames)
ind="c1+c3*hp"
moderatorNames="hp"
treatModerator(ind,moderatorNames)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.