summary.coefspar | R Documentation |
Provides a summary of a coefspar
object.
## S3 method for class 'coefspar'
summary(object, digits = 4L, ...)
object |
An object of class |
digits |
integer digits to be printed, defaults to 4L. |
... |
Additional arguments (ignored). |
Invisibly returns object
.
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"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.