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

plsCoVarCommonShape

Compute the shape changes along the common axis of deformations


Description

Compute the shape changes between two blocks of 2D or 3D shape coordiantes along the common axis of deformations defined by each dimension of the latent space

Usage

plsCoVarCommonShape(pls, i, sdcommon = 1)

Arguments

pls

object of class "pls2B"

i

integer: dimension of latent space to show shape changes for

sdcommon

standard deviations derived from scores scaled to a consensus scale

Value

returns an k x m x 2 array with the common shape changes associated with +-sdcommon SD of the i-th latent dimension

Note

this give the same results as plsCoVar, however, using common shape vectors as suggested by Mitteroecker and Bookstein (2007)

References

Mitteroecker P, Bookstein F. 2007. The conceptual and statistical relationship between modularity and morphological integration. Systematic Biology 56(5):818-836.

See Also

Examples

data(boneData)
proc <- procSym(boneLM)
pls <- pls2B(proc$orpdata[1:4,,],proc$orpdata[5:10,,])
commShape <- getPLSCommonShape(pls)
## get common shape for first latent dimension at +-2 sd of the scores
pred <- plsCoVarCommonShape(pls,1,2)
## Not run: 
deformGrid3d(pred[,,1],pred[,,2])

## End(Not run)

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.