Learn R Programming

archetypes (version 2.2-0.1)

as.archetypes: Archetypes object constructor

Description

Archetypes object constructor

Usage

as.archetypes(object, k, alphas, rss, iters = NULL, call = NULL,
  history = NULL, kappas = NULL, betas = NULL, zas = NULL,
  family = NULL, familyArgs = NULL, residuals = NULL, weights = NULL,
  reweights = NULL, scaling = NULL)

Arguments

object

The archetypes; a \(p \times m\) matrix, see parameters.

k

The number of archetypes;

alphas

The coefficients; a \(n \times p\) matrix, see coef.

rss

The residual sum of squares; see rss.archetypes.

iters

The number of iterations to the convergence.

call

The call of the archetypes function.

history

If saveHistory set then an environment with the archetypes object for each execution step;

kappas

The kappas for each system of linear equations.

betas

The data coefficients; a \(p \times n\) matrix.

zas

The temporary archetypes.

family

The archetypes family.

familyArgs

Additional arguments for family blocks.

residuals

The residuals.

weights

The data weights.

reweights

The data reweights.

scaling

The scaling parameters of the data.

Value

A list with an element for each parameter and class attribute archetypes.

See Also

Other archetypes: archetypesFamily; archetypes; robustArchetypes; weightedArchetypes