coef.spar.cv {spareg}R Documentation

coef.spar.cv

Description

Extract coefficients from 'spar.cv' object

Usage

## S3 method for class 'spar.cv'
coef(object, opt_par = c("best", "1se"), nummod = NULL, nu = NULL, ...)

Arguments

object

result of spar.cv function of class 'spar.cv'.

opt_par

one of c("1se","best"), chooses whether to select the best pair of nus and nummods according to CV-Meas, or the sparsest solution within one sd of that optimal CV-Meas; ignored when nummod and nu are given

nummod

optional number of models used to form coefficients

nu

optional threshold level used to form coefficients

...

further arguments passed to or from other methods

Value

List with elements


[Package spareg version 1.0.0 Index]