Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

stepArchetypes

Run archetypes algorithm repeatedly


Description

Run archetypes algorithm repeatedly

Usage

stepArchetypes(..., k, nrep = 3, method = archetypes, verbose = TRUE)

Arguments

...

Passed to the specific archetype function.

k

A vector of integers passed in turn to the k argument of archetypes.

nrep

For each value of k run archetypes nrep times.

method

Archetypes function to use, typically archetypes, weightedArchetypes or robustArchetypes,

verbose

Show progress during exection.

Value

A list with k elements and class attribute stepArchetypes. Each element is a list of class repArchetypes with nrep elements; only for internal usage.

See Also

Examples

## Not run: 
  data(skel)
  skel2 <- subset(skel, select=-Gender)
  as <- stepArchetypes(skel2, k=1:5, verbose=FALSE)

  ## Residual sum of squares curve:
  screeplot(as)

  ## Select three archetypes and from that the best
  ## recurrence:
  a3 <- bestModel(as[[3]])
  
## End(Not run)

archetypes

Archetypal Analysis

v2.2-0.1
GPL (>= 2)
Authors
Manuel J. A. Eugster [aut, cre], Friedrich Leisch [aut], Sohan Seth [ctb]
Initial release
2014-04-08

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.