View source: R/dimensionality.R
| rray_dimensionality | R Documentation |
rray_dimensionality() returns the number of dimensions of an array as
a single integer.
rray_dimensionality(x)
x |
An array. |
A single integer representing the number of dimensions.
rray_dimensionality(1)
rray_dimensionality(array(1, c(2, 3)))
rray_dimensionality(array(1, c(2, 3, 4)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.