predSimNormsSelectWithRounding | R Documentation |
A function based on PredSimNormsSelect with the modification that if any simulated values are outside the binbreaks for the group, the simulated values are changed to be equal to the boundary value. Use when all the catToCont models for a variable are normal.
predSimNormsSelectWithRounding(
x.cat,
models,
cont.binbreaks,
envir = parent.frame()
)
x.cat |
a categorical vector |
models |
a list of models with length equal to the number of categories in x.cat |
cont.binbreaks |
the binbreaks of the categorical variable |
envir |
environment in which to evaluate model variables. |
a continuous vector that when binned by cont.bonbreaks will be the same as x.cat
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.