koplsRescale {kopls}R Documentation

Matrix scaling based on pre-defined parameters

Description

Scales a matrix based on pre-defined parameters from a scaling object.

Usage

koplsRescale(model, x = NA)

Arguments

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.

Value

The rescaled matrix.

Author(s)

Max Bylesjo and Mattias Rantalainen

References

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.

Examples






[Package kopls version 1.0.3 Index]