projSupplementaryObservations4PLSC: Compute latent variables / factor scores for supplementary...

View source: R/supplementary4PLSC.R

projSupplementaryObservations4PLSCR Documentation

Compute latent variables / factor scores for supplementary observations in a PLSC analysis computed with tepPLS.

Description

projSupplementaryObservations4PLSC computes latent variables / factor scores for supplementary observations in a PLSC analysis computed from TExPosition tepPLS. projSupplementaryObservations4PLSC preprocesses and projects supplementary observations for a PLSC by first preprocessing the variables (i.e., centering and scaling) and then projecting the preprocessed observations onto the loadings (a.k.a., saliences) from the original analysis. projSupplementaryObservations4PLSC is mostly used as a preparatory step for supplementaryObservations4PLSC.

Usage

projSupplementaryObservations4PLSC(
  mat4sup,
  center_fixed,
  scale_fixed,
  loadings_fixed
)

Arguments

mat4sup

The observations to be projected

center_fixed

The barycenter vector (i.e., mean) used to center the original variables.

scale_fixed

the normalizing vector used to scale the original variables.

loadings_fixed

the loadings used to project the supplementary observations on the variables (obtained from the original analysis).

Details

projSupplementaryObservations4PLSC is mostly a subroutine for supplementaryObservations4PLSC.

Value

the supplementary latent variable values.

Author(s)

Hervé Abdi

See Also

tepPLS supplementaryObservations4PLSC


HerveAbdi/data4PCCAR documentation built on July 20, 2024, 7:52 a.m.