koplsScaleApply {kopls} | R Documentation |
Applies matrix scaling from an external scaling object and returns the scaled matrix with scaling parameters.
koplsScaleApply(model, x)
model |
Scaled object list, see link{koplsScale} for details. |
x |
The matrix to be scaled. If NA, the object contained in model will be scaled and returned. |
A list with the following properties:
x |
The scaled matrix. |
meanVector |
Vector with mean values (possibly) used in the scaling. |
sdVector |
Vector with standard deviation values (possibly) used in the scaling. |
scale |
Scaling type: see link{koplsScale} for details. |
center |
Mean-centering type see link{koplsScale} for details. |
Max Bylesjo and Mattias Rantalainen
Rantalainen M, Bylesjo M, Cloarec O, Nicholson JK, Holmes E and Trygg J. Kernel-based orthogonal projections to latent structures (K-OPLS), J Chemometrics 2007; 21:376-385. doi:10.1002/cem.1071.