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

shapes.cva

Canonical variate analysis for shapes


Description

Carry out canonical variate analysis for shapes (in two or more groups)

Usage

shapes.cva(X,groups,scale=TRUE,ncv=2)

Arguments

X

Input k x m x n real array of the configurations, where k is the number of points, m is the number of dimensions, and n is the sample size.

groups

The group labels

scale

Logical, indicating if Procrustes scaling should be carried out

ncv

Number of canonical variates to display

Value

A plot if ncv=2 or 3 and the Canonical Variate Scores

Author(s)

Ian Dryden

References

Dryden, I.L. and Mardia, K.V. (2016). Statistical Shape Analysis, with Applications in R (Second Edition). Wiley, Chichester.

See Also

procGPA

Examples

#2D example : female and male apes   (cf. Dryden and Mardia, 2016)

data(pongof.dat)
data(pongom.dat) 
data(panm.dat)
data(panf.dat)

apes   <- groupstack( pongof.dat , pongom.dat , panm.dat, panf.dat )

shapes.cva( apes$x, apes$groups)

shapes

Statistical Shape Analysis

v1.2.6
GPL-2
Authors
Ian L. Dryden
Initial release
2021-03-30

We don't support your browser anymore

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