Learn R Programming

shapes (version 1.2.7)

groupstack: Combine two or more groups of configurations

Description

Combine two or more groups of configurations and create a group label vector. (Maximum 8 groups).

Usage

groupstack(A1, A2, A3=0, A4=0, A5=0, A6=0, A7=0, A8=0)

Value

A list with components

x

The combined array of all configurations

groups

The group labels (integers)

Arguments

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

Author

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

Run this code

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

data(gorf.dat)
data(gorm.dat)

groupstack(gorf.dat,gorm.dat)

Run the code above in your browser using DataLab