Get the shape changes from pls2B associated with each latent variable
plsCoVar(pls, i, sdx = 3, sdy = 3)
matrix/array with reconstructed x
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)
.
output of pls2B
integer: which latent variable to show. E.g. i=3 will show the changes associated with the 3rd latent variable.
standard deviation on the xscores. sdx=3 will show the effecs of -3sd vs +3sd
standard deviation on the yscores. sdy=3 will show the effecs of -3sd vs +3sd
pls2B, getPLSfromScores, predictPLSfromScores, getPLSscores, predictPLSfromData,svd, plsCoVarCommonShape