Hi Leo,
ortho_projection(method=" pls, scale=TRUE) is not scaling to unit. It looks like the function pls_projection is missing the scale operation like the one present in pc_projection (line 464).
I came across this issue after reconstructing the PLS/PCA projected spectra for outlier detection:

Ortho PC does work with center and scale, as indicated in my reconstruction.

I can move forward without scaling for PLS, but I think this would be important to fix.
Cheers
Hi Leo,
ortho_projection(method=" pls, scale=TRUE)is not scaling to unit. It looks like the functionpls_projectionis missing the scale operation like the one present inpc_projection(line 464).I came across this issue after reconstructing the PLS/PCA projected spectra for outlier detection:

Ortho PC does work with center and scale, as indicated in my reconstruction.

I can move forward without scaling for PLS, but I think this would be important to fix.
Cheers