procrustes: Generalised Procrustes Analysis of provenance data

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/toolbox.R

Description

Given a number of input datasets, this function performs an MDS analysis on each of these and the feeds the resulting configurations into the GPA() function.

Usage

1

Arguments

...

a sequence of datasets of classes distributional, counts and compositional

Value

an object of class GPA, i.e. a list containing the following items:

points: a two column vector with the coordinates of the group configuration

labels: a list with the sample names

Author(s)

Pieter Vermeesch

References

Gower, J.C. (1975). Generalized Procrustes analysis, Psychometrika, 40, 33-50.

See Also

GPA

Examples

1
2
3
data(Namib)
gpa <- procrustes(Namib$DZ,Namib$HM)
plot(gpa)

Example output

initial  value 10.608343 
iter   5 value 8.868203
iter   5 value 8.867183
iter  10 value 7.883745
iter  15 value 7.637849
final  value 7.619237 
converged
initial  value 6.195981 
iter   5 value 4.395803
iter  10 value 4.319710
iter  10 value 4.316534
iter  10 value 4.315346
final  value 4.315346 
converged

provenance documentation built on May 5, 2021, 1:06 a.m.