ftable.tensor {tensorA}R Documentation

Pretty printing of tensors

Description

Returns the tensor as (flat) ftable, providing a pretty output.

Usage

## S3 method for class 'tensor'
ftable(x,...)

Arguments

x

the tensor

...

additional arguments to ftable

Details

This function is called for a pretty output of a tensor, just try it.

Value

an ftable containing the same data as the tensor

Author(s)

K. Gerald van den Boogaart

See Also

ftable

Examples

A <- to.tensor(1:20,c(U=2,V=2,W=5))
A
dim(A)
names(A)
dimnames(A)

ftable(to.tensor(A))
ftable(to.tensor(c(A),dim(A)))


[Package tensorA version 0.36.2.1 Index]