simulate_Mix | R Documentation |
This function creates observations under LMM.
simulate_Mix(
intercept = 50,
slope = 1.5,
n = 30,
group_nb = 10,
var.rand = 2,
var.error = 0.5
)
intercept |
the value for the intercept |
slope |
the value for the slope |
n |
the sample size |
group_nb |
the number of levels for the random effect |
var.rand |
the variance of the random effect |
var.error |
the residual error variance |
a data.frame containing the simulated data
simulate_Mix()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.