procrustes: Generalised Procrustes Analysis of provenance data

View source: R/scaling.R

procrustesR Documentation

Generalised Procrustes Analysis of provenance data

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

procrustes(...)

Arguments

...

a sequence of datasets of classes distributional, counts, compositional and varietal OR a single object of class varietal.

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

data(Namib)
gpa1 <- procrustes(Namib$DZ,Namib$HM)
plot(gpa1)

data(SNSM)
gpa2 <- procrustes(SNSM$ap)
plot(gpa2)

provenance documentation built on May 29, 2024, 4:23 a.m.