plsCoVar | R Documentation |
Get the shape changes from pls2B associated with each latent variable
plsCoVar(pls, i, sdx = 3, sdy = 3)
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 |
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 |
.
pls2B, getPLSfromScores, predictPLSfromScores, getPLSscores, predictPLSfromData,svd, plsCoVarCommonShape
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.