pls.getxdecomp: Compute object with decomposition of x-values

View source: R/pls.R

pls.getxdecompR Documentation

Compute object with decomposition of x-values

Description

Compute object with decomposition of x-values

Usage

pls.getxdecomp(
  x,
  xscores,
  xloadings,
  xeigenvals,
  xnames = NULL,
  x.attrs = NULL,
  objnames = NULL,
  compnames = NULL
)

Arguments

x

matrix with predictors, already preprocessed (e.g. mean centered) and cleaned

xscores

matrix with X-scores

xloadings

matrix with X-loadings

xeigenvals

matrix with eigenvalues for X

xnames

vector with names of the predictors

x.attrs

list with preditors attributes

objnames

vector with names of objects (rows of x)

compnames

vector with names used for components

Value

array 'ldecomp' object for x-values


mdatools documentation built on Sept. 11, 2024, 7:59 p.m.