powered by
Perform archetypal analysis on a data matrix.
archetypes(data, k, weights = NULL, maxIterations = 100, minImprovement = sqrt(.Machine$double.eps), maxKappa = 1000, verbose = FALSE, saveHistory = TRUE, family = archetypesFamily("original"), ...)
A numeric \(n \times m\) data matrix.
The number of archetypes.
Data weights matrix or vector (used as elements of the diagonal weights matrix).
The maximum number of iterations.
The minimal value of improvement between two iterations.
The limit of kappa to report an ill-ness warning.
Print some details during execution.
Save each execution step in an environment for further analyses.
Blocks defining the underlying problem solving mechanisms; see archetypesFamily.
archetypesFamily
Additional arguments for family blocks.
An object of class archetypes, see as.archetypes.
archetypes
as.archetypes
Cutler and Breiman. Archetypal Analysis. Technometrics, 36(4), 1994. 338-348.
Other archetypes: archetypesFamily; as.archetypes; robustArchetypes; weightedArchetypes
robustArchetypes
weightedArchetypes
# NOT RUN { data(toy) a <- archetypes(toy, 3) # }
Run the code above in your browser using DataLab