| rray_size | R Documentation |
rray_size() returns the total number of elements in an array,
computed as the product of its dimensions.
rray_size(x)
x |
An array. |
A single double representing the total number of elements.
rray_size(1:5)
rray_size(array(1, c(2, 3)))
rray_size(array(1, c(2, 3, 4)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.