| size | R Documentation |
Returns the size of an object
size(x, verbosity = 1L)
x |
any object with |
verbosity |
Integer: Verbosity level. If > 0, print size to console |
If dim(x) is NULL, returns length(x).
Integer vector with length equal to the number of dimensions of x, invisibly.
EDG
x <- rnorm(20)
size(x)
# 20
x <- matrix(rnorm(100), 20, 5)
size(x)
# 20 5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.