Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

plsCoVar

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


Morpho

Calculations and Visualisations Related to Geometric Morphometrics

v2.8
GPL-2
Authors
Stefan Schlager [aut, cre, cph], Gregory Jefferis [ctb], Dryden Ian [cph]
Initial release
2020-02-26

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.