print.selection {FWDselect} | R Documentation |
selection
summaryselection
summary
## S3 method for class 'selection' print(x = model, ...)
x |
|
... |
Other options. |
The function returns the best subset of size q and its information
criterion value. In the case of seconds=TRUE
this information is
returned for each alternative model.
Marta Sestelo, Nora M. Villanueva and Javier Roca-Pardinas.
library(FWDselect) data(diabetes) x = diabetes[ ,2:11] y = diabetes[ ,1] obj1 = selection(x, y, q = 1, method = "lm", criterion = "variance", cluster = FALSE) obj1