Description Usage Arguments Value Examples
Simulate responses given the model parameter and covariates under the unit level model of Lyu, Berg and Hofmann.
1 | simLBH(fit, Xs, f_pos, f_zero = f_pos, f_area, link = "logit")
|
fit |
a list of model parameter
estimates containing at least fixed effects coefficients and variance components
(named as the return value of |
Xs |
covariates matrix or data frame containing the variables named in
|
f_pos |
an object of class |
f_zero |
an object of class |
f_area |
an object of class |
link |
a specification for the link function used to model the binary part.
The accepted link functions are |
response vector
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.