numel | R Documentation |
Number of elements in a vector, matrix, or array.
numel(x)
x |
a vector, matrix, array or list |
the number of elements of a
.
size
numel(c(1:12))
numel(matrix(1:12, 3, 4))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.