Learn R Programming

lmmen (version 1.0)

cv.lmmlasso: Cross Validation for lmmlasso package

Description

Cross Validation for lmmlasso package as shown in example xxx

Usage

cv.lmmlasso(dat, lambda = seq(0, 500, 5), ...)

Arguments

dat

matrix, containing y,X,Z and subject variables

lambda

numeric, path of positive regularization parameter, Default: seq(0, 500, 5)

...

parameters to pass to lmmlasso

Value

lmmlasso fit object

References

J. Schelldorfer, P. Buhlmann, and S. Van de Geer. Estimation for high-dimensional linear mixed-effects models using L1-penalization. Scandinavian Journal of Statistics, 38(2):197<U+2013>214, 2011.

See Also

lmmlasso

Examples

Run this code
# NOT RUN {
 
# }
# NOT RUN {
cv.lmmlasso(initialize_example(seed = 1))
# }

Run the code above in your browser using DataLab