Description Usage Arguments Value See Also Examples
Cross Validation for glmmLasso package as shown in example xxx
1 2 |
dat |
data.frame, containing y,X,Z and subject variables |
form.fixed |
formaula, fixed param formula, Default: NULL |
form.rnd |
list, named list containing random effect formula, Default: NULL |
lambda |
numeric, vector containing lasso penalty levels, Default: seq(500, 0, by = -5) |
family |
family, family function that defines the distribution link of the glmm, Default: gaussian(link = "identity") |
list of a fitted glmmLasso object and the cv BIC path
glmmLasso
@references
Variable selection for generalized linear mixed models by ell 1-penalized estimation.
Statistics and Computing, pages 1–18, 2014.
1 | ## Not run: cv.glmmLasso(initialize_example(seed=1))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.