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:
the
kappas \times d
matrix of archetypes foundthe
n \times kappas
matrix A such that Y ~ ABY or Frobenius norm ||Y-ABY|| is minimumthe
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.1 Index]