Description Usage Arguments Details Value Examples
rray_flip()
reverses the elements of an rray along a single dimension.
1 |
x |
An rray. |
axis |
An integer of size |
Dimension names are flipped as well.
x
but with reversed elements along axis
.
1 2 3 4 5 6 7 | x <- rray(1:10, c(5, 2))
x <- rray_set_row_names(x, letters[1:5])
x <- rray_set_col_names(x, c("c1", "c2"))
rray_flip(x, 1)
rray_flip(x, 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.