Learn R Programming

PLSbiplot1 (version 0.1)

cov.monoplot: The covariance monoplot

Description

Takes in only one set of variables (e.g., predictors) and produces a covariance monoplot.

Usage

cov.monoplot(X, ...)

Arguments

X
A (NxP) predictor matrix
...
Other arguments. Currently ignored

Value

The covariance monoplot of X

Examples

Run this code
if(require(pls))
data(oliveoil, package="pls")
Y = as.matrix(oliveoil$sensory, ncol=6)
dimnames(Y) = list(paste(c("G1","G2","G3","G4","G5","I1","I2","I3","I4",
"I5","S1","S2","S3","S4","S5","S6")),
paste(c("Yellow","Green","Brown","Glossy","Transp","Syrup")))
cov.monoplot(Y)

#cocktail data
if(require(SensoMineR))
data(cocktail, package="SensoMineR")
Y3 = as.matrix(senso.cocktail, ncol=13)
cov.monoplot(Y3)

Run the code above in your browser using DataLab