reconstruction_error: Projection to pls and then re-construction

Description Usage Arguments Value Author(s)

View source: R/RcppExports.R

Description

Projects spectra onto a PLS space and then reconstructs it back.

Usage

1
project_opls(projection_mat, ncomp, newdata, scale, Xcenter, Xscale)

Arguments

x

a matrix to project.

projection_mat

the projection matrix generated by the opls_get_basics function.

xloadings

the loadings matrix generated by the opls_get_basics function.

Value

a matrix of 1 row and 1 column.

Author(s)

Leonardo Ramirez-Lopez


resemble documentation built on Nov. 9, 2020, 5:08 p.m.