archetypes: Perform archetypal analysis on a data matrix.

Description Usage Arguments Value References See Also Examples

Description

Perform archetypal analysis on a data matrix.

Usage

1
2
3
4
archetypes(data, k, weights = NULL, maxIterations = 100,
  minImprovement = sqrt(.Machine$double.eps), maxKappa = 1000,
  verbose = FALSE, saveHistory = TRUE,
  family = archetypesFamily("original"), ...)

Arguments

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 archetypesFamily.

...

Additional arguments for family blocks.

Value

An object of class archetypes, see as.archetypes.

References

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

See Also

Other archetypes: archetypesFamily; as.archetypes; robustArchetypes; weightedArchetypes

Examples

1
2
data(toy)
  a <- archetypes(toy, 3)


Search within the archetypes package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.