summary.coefspar {spareg} | R Documentation |
Summary method for coefspar objects
Description
Provides a summary of a coefspar
object.
Usage
## S3 method for class 'coefspar'
summary(object, digits = 4L, ...)
Arguments
object |
An object of class |
digits |
integer digits to be printed, defaults to 4L. |
... |
Additional arguments (ignored). |
Value
Invisibly returns object
.
Examples
example_data <- simulate_spareg_data(n = 200, p = 2000, ntest = 100)
spar_res <- spareg(example_data$x, example_data$y, xval = example_data$xtest,
yval = example_data$ytest, nummods=c(5, 10, 15, 20, 25, 30))
summary(coef(spar_res))
summary(coef(spar_res, aggregate = "none"))
[Package spareg version 1.1.0 Index]