groupstack | R Documentation |
Combine two or more groups of configurations and create a group label vector. (Maximum 8 groups).
groupstack(A1, A2, A3=0, A4=0, A5=0, A6=0, A7=0, A8=0)
A1 |
Input k x m x n real array of the Procrustes transformed configurations, where k is the number of points, m is the number of dimensions, and n is the sample size. |
A2 |
Input k x m x n real array of the Procrustes original configurations, where k is the number of points, m is the number of dimensions, and n is the sample size. |
A3 |
Optional array |
A4 |
Optional array |
A5 |
Optional array |
A6 |
Optional array |
A7 |
Optional array |
A8 |
Optional array |
A list with components
x |
The combined array of all configurations |
groups |
The group labels (integers) |
Ian Dryden
Dryden, I.L. and Mardia, K.V. (2016). Statistical Shape Analysis, with Applications in R (Second Edition). Wiley, Chichester.
procGPA
#2D example : female and male Gorillas (cf. Dryden and Mardia, 2016) data(gorf.dat) data(gorm.dat) groupstack(gorf.dat,gorm.dat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.