coef.spar.cv | R Documentation |
Extract coefficients from 'spar.cv'
object
## S3 method for class 'spar.cv'
coef(
object,
nummod = NULL,
nu = NULL,
opt_par = c("best", "1se"),
aggregate = c("mean", "median", "none"),
...
)
object |
result of spar.cv function of class |
nummod |
optional number of models used to form coefficients |
nu |
optional threshold level used to form coefficients |
opt_par |
one of |
aggregate |
character one of c("mean", "median", "none"). If set to "none" the coefficients are not aggregated over the marginal models, otherwise the coefficients are aggregated using the specified method (mean or median). Defaults to mean aggregation. |
... |
further arguments passed to or from other methods |
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.