as.afaces: Convert an object to an afaces object

Description Usage Arguments Examples

View source: R/afaces.R

Description

Simply adds 'afaces' to the object, if not already set. No more check so far.

Usage

1
2
3

Arguments

x

an object that should be an array

Examples

1
2
3
4
5
6
a <- array(1:27, dim=rep(3, 3))
a
class(a)
a2 <- as.afaces(a) # which is equivalent to afaces(a)
a2
class(as.afaces(a2))

vbonhomme/eigenfaces documentation built on May 3, 2019, 4:35 p.m.