print.archetypal {archetypal}R Documentation

Print an object of the class archetypal.

Description

It prints the output of archetypal

Usage

## S3 method for class 'archetypal'
print(x, ...)

Arguments

x

An object of the class archetypal

...

Other arguments (ignored)

Details

Since Archetypal Analysis (AA) is essentially one more matrix decomposition of the form Y ~ ABY, it is reasonable to print:

  1. the kappas \times d matrix of archetypes found

  2. the n \times kappas matrix A such that Y ~ ABY or Frobenius norm ||Y-ABY|| is minimum

  3. the kappas \times n matrix B such that Y ~ ABY or Frobenius norm ||Y-ABY|| is minimum

Examples

{
## Use the sample data "wd2"
data(wd2)
aa=archetypal(wd2, 3)
print(aa)

}

[Package archetypal version 1.3.0 Index]