plot.epcreg {EnsemblePCReg}R Documentation

Plot function for epcreg model

Description

Function for generating diagnostics plot for epcreg trained model.

Usage

## S3 method for class 'epcreg'
plot(x, ...)

Arguments

x

Object of class "epcreg", typically the output of function epcreg.

...

Arguments passed to/from other methods.

Value

Function plot.epcreg creates two sub-plots in a figure: 1) a plot of base learner CV errors, with one data point per base learner configuration. The horizontal dotted line indicates the CV error corresponding to the chosen base learner configuration. For "default" method, this is the same as the minimum error of points on this plot; 2) plot of CV error as a function number of PC's used in PCR-based integration. The minimum point of this plot is chosen as the optimal number of PC's and subsequrnyl used for prediction.

Author(s)

Mansour T.A. Sharabiani, Alireza S. Mahani


[Package EnsemblePCReg version 1.1.4 Index]