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

The level of a tensor is the number of dimensions or subscripts used.

1 | ```
level.tensor(X,...)
``` |

`X` |
the tensor to be used |

`...` |
not used |

The level of the tensor is the length of its dim attribute. Objects without a dim attribute get level 1 if they are of length > 1 and are marked as scalars by 0 level otherwise.

the number of levels

K. Gerald van den Boogaart

1 2 3 4 5 | ```
A <- to.tensor(1:24,c(a=1,b=2,c=3,d=4))
level.tensor(A)
level.tensor(matrix(1))
level.tensor(1:10)
level.tensor(1)
``` |

tensorA documentation built on July 29, 2018, 5:01 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.