rearrange | R Documentation |
Rearrangement algorithm on one mode
rearrange(ten, k, key = "NA")
ten |
A multi-dimensional array |
k |
An integer specifying the mode to arrange |
key |
The value to which rearrange is according, set as 'NA' by default |
A rearrangement algorithm on higher order tensor to rearrange all missing entries along mode k to the end.
A list of two objects, a rearranged tensor and the indices rearranged
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.