pls.getydecomp: Compute object with decomposition of y-values

View source: R/pls.R

pls.getydecompR Documentation

Compute object with decomposition of y-values

Description

Compute object with decomposition of y-values

Usage

pls.getydecomp(
  y,
  yscores,
  xscores,
  yloadings,
  yeigenvals,
  ynames = NULL,
  y.attrs = NULL,
  x.attrs = NULL,
  objnames = NULL,
  compnames = NULL
)

Arguments

y

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

yscores

matrix with Y-scores

xscores

matrix with X-scores

yloadings

matrix with Y-loadings

yeigenvals

matrix with eigenvalues for Y

ynames

vector with names of the responses

y.attrs

list with response attributes (e.g. from reference values if any)

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 y-values (or NULL if y is not provided)


mdatools documentation built on Aug. 13, 2023, 1:06 a.m.