plot.pocrepath {POCRE}R Documentation

Visulaization of a POCRE Path

Description

For a series models built by POCRE for different tuning paramter values, it provides three types of plots to help select an appropriate tuning parameter value.

Usage

## S3 method for class 'pocrepath'
plot(x, which=1:3, cex=.5, lwd=1, ...)

Arguments

x

a pocrepath object, i.e., the result from pocrepath.

which

1 for plotting the tuning parameter vs. (beta, #[beta!=0]), 2 for plotting the tuning parameter vs. (beta, R^2), 3 for plotting the tuning parameter vs. (R^2, #[beta!=0]).

cex

A numerical value giving the amount by which plotting text and symbols should be magnified relative to the default, see par.

lwd

line width, see par.

...

additional arguments accepted by ggplot.

Author(s)

Dabao Zhang, Zhongli Jiang, Zeyu Zhang, Department of Statistics, Purdue University

References

Zhang D (2018). R package POCRE: Exploring high-dimensional data via supervised dimension reduction. Manuscript.

Zhang D, Lin Y, and Zhang M (2009). Penalized orthogonal-components regression for large p small n data. Electronic Journal of Statistics, 3: 781-796.

See Also

pocrepath, plot.pocre, pocre.

Examples

data(simdata)
xx <- scale(as.matrix(simdata[,-1]))
yy <- scale(as.matrix(simdata[,1]))

# ppres <- pocrepath(yy, xx, delta=0.01)
ppres <- pocrepath(yy, xx)

# plot(ppres)
plot(ppres,which=3)

[Package POCRE version 0.6.0 Index]