Learn R Programming

mixlm (version 1.2.6)

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<U+08039A31>994) Comparison of prediction methods when only a few components are relevant. JASA 89, 583-591.

Examples

Run this code
# NOT RUN {
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