plot.qselection: Visualization of 'qselection' object

Description Usage Arguments Value Author(s) See Also Examples

Description

This function plots the cross-validation information criterion for several subsets of size q chosen by the user.

Usage

1
2
## S3 method for class 'qselection'
plot(x = object, y = NULL, ylab = NULL, ...)

Arguments

x

qselection object.

y

NULL

ylab

NULL

...

Other options.

Value

Simply returns a plot.

Author(s)

Marta Sestelo, Nora M. Villanueva and Javier Roca-Pardinas.

See Also

selection.

Examples

1
2
3
4
5
6
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)

sestelo/fwdselect documentation built on May 29, 2019, 6:58 p.m.