plot.qselection {FWDselect} | R Documentation |
qselection
objectThis function plots the cross-validation information criterion for several subsets of size q chosen by the user.
## S3 method for class 'qselection' plot(x = object, y = NULL, ylab = NULL, ...)
x |
|
y |
NULL |
ylab |
NULL |
... |
Other options. |
Simply returns a plot.
Marta Sestelo, Nora M. Villanueva and Javier Roca-Pardinas.
library(FWDselect) data(diabetes) x = diabetes[ ,2:11] y = diabetes[ ,1] obj2 = qselection(x, y, qvector = c(1:9), method = "lm", criterion = "variance", cluster = FALSE) plot(obj2)