Description Usage Arguments Details Value See Also Examples
Evaluate fixed effects initial values for lmmen via cv.glmnet or lme4.
1 |
dat |
data.frame, data to solve initial values |
method |
character, method to use, c('glmnet','lme4') |
cv.glmnet is set to ridge regression.
numeric
1 2 3 | dat <- initialize_example(n.i = 5,n = 30,q=4,seed=1)
init.beta(dat,method='glmnet')
init.beta(dat,method='lme4')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.