plsCoVarCommonShape {Morpho}R Documentation

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

pls2B, getPLSfromScores, predictPLSfromScores, getPLSscores, predictPLSfromData,svd, plsCoVar, getPLSCommonShape

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)

[Package Morpho version 2.12 Index]