Skip to content

ortho_projection(method=" pls, scale=TRUE) #55

Description

@zecojls

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:
Image

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

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

Cheers

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions