archetypes {archetypes} | R Documentation |
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"), ...)
data |
A numeric n \times m data matrix. |
k |
The number of archetypes. |
weights |
Data weights matrix or vector (used as elements of the diagonal weights matrix). |
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 |
... |
Additional arguments for family blocks. |
An object of class archetypes
, see
as.archetypes
.
Cutler and Breiman. Archetypal Analysis. Technometrics, 36(4), 1994. 338-348.
Other archetypes: archetypesFamily
;
as.archetypes
;
robustArchetypes
;
weightedArchetypes
data(toy) a <- archetypes(toy, 3)