plsCoVar: Get the shape changes from pls2B associated with each latent...

View source: R/pls2B.r

plsCoVarR Documentation

Get the shape changes from pls2B associated with each latent variable

Description

Get the shape changes from pls2B associated with each latent variable

Usage

plsCoVar(pls, i, sdx = 3, sdy = 3)

Arguments

pls

output of pls2B

i

integer: which latent variable to show. E.g. i=3 will show the changes associated with the 3rd latent variable.

sdx

standard deviation on the xscores. sdx=3 will show the effecs of -3sd vs +3sd

sdy

standard deviation on the yscores. sdy=3 will show the effecs of -3sd vs +3sd

Value

x

matrix/array with reconstructed x

y

matrix/array with reconstructed y, with each prediction named accordingly: e.g. neg_x_sd_3 means the prediction of x at a score of -3*sd(Xscores)

.

See Also

pls2B, getPLSfromScores, predictPLSfromScores, getPLSscores, predictPLSfromData,svd, plsCoVarCommonShape


Morpho documentation built on June 22, 2024, 7:19 p.m.