View source: R/utility_functions.R
prepare_rnorm_model | R Documentation |
prepare_rnorm_model()
changes the fixed effect estimates of the
specified model. It randomly selects "new" fixed effect estimates out of
a normal distribution around the "old" estimates. Non significant effects
in the given model are ignored and no rnorm-value is computet for them.
prepare_rnorm_model(model, data, simvar, critical_value)
model |
mixed model of interest |
data |
pilot data that fits the mixed model of interest |
simvar |
name of the variable that contains the subject??s number in data |
critical_value |
z/t value to test if a given fixed effect is significant |
A modified mixed model
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.