print.archetypal function

Print an object of the class archetypal.

Print an object of the class archetypal.

It prints the output of archetypal

## 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×dkappas \times d matrix of archetypes found
  2. the n×kappasn \times kappas matrix A such that Y ~ ABY or Frobenius norm ||Y-ABY|| is minimum
  3. the kappas×nkappas \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) }
  • Maintainer: Demetris Christopoulos
  • License: GPL (>= 2)
  • Last published: 2024-05-23

Useful links