coef.spar | R Documentation |
Extract coefficients from 'spar'
object
## S3 method for class 'spar'
coef(
object,
nummod = NULL,
nu = NULL,
aggregate = c("mean", "median", "none"),
...
)
object |
result of spar function of class |
nummod |
number of models used to form coefficients; value with minimal
validation |
nu |
threshold level used to form coefficients; value with minimal
validation |
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 |
object of class 'coefspar'
which is a 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
print.coefspar, summary.coefspar
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.