Usage
lassoCV(formula, data, K = 10, fraction = seq(0, 1, by = 0.05), trace = FALSE,
plot.opt = TRUE, sdfact = 2, legpos = "topright", ...)
Arguments
formula
formula, like y~X, i.e., dependent~response variables
data
data frame to be analyzed
K
the number of segments to use for CV
fraction
fraction for Lasso parameters to be used for evaluation, see details
trace
if 'TRUE', intermediate results are printed
plot.opt
if TRUE a plot will be generated that shows optimal choice for
"fraction"
sdfact
factor for the standard error for selection of the optimal parameter,
see details
legpos
position of the legend in the plot
...
additional plot arguments