Learn R Programming

bootsPLS (version 1.1.2)

plot.component.selection: Plot the results of the testing procedure to determine the number of component to select

Description

Plot the results of the testing procedure to determine the number of component to select

Usage

# S3 method for component.selection
plot(x,pch,col,type,lty,...)

Arguments

x

Object of class "component.selection".

pch

See par for details.

col

See par for details.

type

See par for details.

lty

See par for details.

not used

Details

This function plots the p-value of the one sided t-test with respect to the number of components. See component.selection and the reference below for more details on the multiple testing procedure

References

Rohart et al. (2016). A Molecular Classification of Human Mesenchymal Stromal Cells. PeerJ, DOI 10.7717/peerj.1845

See Also

bootsPLS, component.selection

Examples

Run this code
# NOT RUN {
data(MSC)
X=MSC$X
Y=MSC$Y


boot=bootsPLS(X=X,Y=Y,ncomp=3,many=5,kCV=5)
comp=component.selection(boot)

plot(comp)

# }

Run the code above in your browser using DataLab