plsCoVarCommonShape: Compute the shape changes along the common axis of...

Description Usage Arguments Value Note References See Also Examples

View source: R/pls2B.r

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

1
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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 documentation built on Sept. 9, 2021, 9:07 a.m.