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 |
opt_par |
one of |
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
-
intercept
intercept value -
beta
vector of length p of averaged coefficients -
nummod
number of models based on which the coefficient is computed -
nu
threshold based on which the coefficient is computed
[Package spareg version 1.0.0 Index]