R: Short 'selection' summary

print.selection {FWDselect} | R Documentation

## Short `selection` summary

### Description

`selection` summary

### Usage

    ## S3 method for class 'selection'
    print(x = model, ...)

### Arguments

`x` | `selection` object.
`...` | Other options.

### Value

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.

### 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]
    obj1 = selection(x, y, q = 1, method = "lm", criterion = "variance", cluster = FALSE)
    obj1

[Package FWDselect version 2.1.0 Index]