Learn R Programming

mixlm (version 1.4.0)

plotprops: Property plots for relevant component analysis

Description

Plot summary of relevant component analysis.

Usage

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

Value

Only plotting.

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.

Author

Solve Sæbø

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