| rray_dimensions | R Documentation |
rray_dimensions() returns the dimension of each axis of an
array.
rray_dimensions(x)
x |
An array. |
For a plain vector without a dim attribute, this returns its
length as a single integer (i.e., a 1-dimensional result).
An integer vector of dimensions.
rray_dimensions(1:5)
rray_dimensions(array(1, c(2, 3)))
rray_dimensions(array(1, c(2, 3, 4)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.