Learn R Programming

mixlm (version 1.0.8.1)

plotprops: Property plots for relevant component analysis

Description

Plot summary of relevant component analysis.

Usage

plotprops(Y, X, doscaleX = FALSE, docenterX = TRUE, ncomp, subset)

Arguments

Y
Response matrix.
X
Predictor matrix.
doscaleX
Standardize predictors.
docenterX
Center predictors.
ncomp
Number of singular values and eigenvalues to extract.
subset
Subset of predictor and response.

Value

  • Only plotting.

References

Helland, I.S. & T. Alm�y (1994) Comparison of prediction methods when only a few components are relevant. JASA 89, 583-591.

Examples

Run this code
X <- matrix(rnorm(100),20,5)
Y <- matrix(rnorm(20),20,1)
plotprops(Y, X, doscaleX = FALSE, docenterX = TRUE, 5)

Run the code above in your browser using DataLab