Learn R Programming

archetypes (version 1.0)

archetypes: Perform archetypal analysis on a data matrix.

Description

Perform archetypal analysis on a data matrix.

Usage

archetypes(data, k, maxIterations=100,
    minImprovement=sqrt(.Machine$double.eps), maxKappa=1000,
    verbose=TRUE, saveHistory=TRUE, family=archetypesFamily("default"))

Arguments

data
A numeric $n \times m$ data matrix.
k
The number of archetypes.
maxIterations
The maximum number of iterations.
minImprovement
The minimal value of improvement between two iterations.
maxKappa
The limit of kappa to report an ill-ness warning.
verbose
Print some details during execution.
saveHistory
Save each execution step in an environment for further analyses.
family
Blocks defining the underlying problem solving mechanisms; see archetypesFamily.

Value

References

Cutler and Breiman. Archetypal Analysis. Technometrics, 36(4), 1994. 338-348.

See Also

stepArchetypes

Examples

Run this code
data(toy)
a <- archetypes(toy, 3)

Run the code above in your browser using DataLab