plsCoVarCommonShape | R Documentation |
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
plsCoVarCommonShape(pls, i, sdcommon = 1)
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 |
returns an k x m x 2 array with the common shape changes associated with +-sdcommon
SD of the i-th
latent dimension
this give the same results as plsCoVar
, however, using common shape vectors as suggested by Mitteroecker and Bookstein (2007)
Mitteroecker P, Bookstein F. 2007. The conceptual and statistical relationship between modularity and morphological integration. Systematic Biology 56(5):818-836.
pls2B, getPLSfromScores, predictPLSfromScores, getPLSscores, predictPLSfromData,svd, plsCoVar, getPLSCommonShape
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.