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

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)

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

Value

A list with components

x

The combined array of all configurations

groups

The group labels (integers)

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 Gorillas (cf. Dryden and Mardia, 2016)

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

groupstack(gorf.dat,gorm.dat)

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.