scores: Extract Scores and Loadings from PLSR and PCR Models
Description
These functions extract score and loading matrices from fitted
mvr models.
Usage
scores(object, ...)
## S3 method for class 'prcomp':
scores(object, \dots)
## S3 method for class 'default':
scores(object, \dots)
loading.weights(object)
Yscores(object)
Yloadings(object)
Arguments
Value
A matrix with scores or loadings.
encoding
latin1
Details
All functions extract the indicated matrix from the fitted model, and
will work with any object having a suitably named component.
scores also has a method for prcomp objects (their
score component is called x).
loadings is in package stats, and is documented there.