subset.perry: Subsetting resampling-based prediction error results

Description Usage Arguments Value Note Author(s) See Also

View source: R/subset.R

Description

Extract subsets of resampling-based prediction error results.

Usage

1
2
3
4
5
## S3 method for class 'perry'
subset(x, select = NULL, ...)

## S3 method for class 'perrySelect'
subset(x, subset = NULL, select = NULL, ...)

Arguments

x

an object inheriting from class "perry" or "perrySelect" that contains prediction error results.

select

a character, integer or logical vector indicating the prediction error results to be extracted.

...

currently ignored.

subset

a character, integer or logical vector indicating the subset of models for which to keep the prediction error results.

Value

An object similar to x containing just the selected results.

Note

Duplicate indices in subset or select are removed such that all models and prediction error results are unique.

Author(s)

Andreas Alfons

See Also

perryFit, perrySelect, perryTuning, subset


perry documentation built on Sept. 15, 2021, 5:07 p.m.