ftabletensor: Pretty printing of tensors

Description Usage Arguments Details Value Author(s) See Also Examples

Description

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

Usage

1
2
## 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

1
2
3
4
5
6
7
8
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)))

tensorA documentation built on Nov. 20, 2020, 9:07 a.m.