R: Visualization of 'qselection' object

plot.qselection {FWDselect} | R Documentation

## Visualization of `qselection` object

### Description

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

### Usage

    ## 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

    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)

[Package FWDselect version 2.1.0 Index]