lengths | R Documentation |
Lengths of object elements
lengths(x, use.names = TRUE)
x |
an object. If there is no method implemented for this object,
the |
use.names |
logical indicating if the result should inherit the names from x. |
A non-negative integer of length length(x), except when any element has a length of more than 2^31 - 1 elements, when it returns a double vector. When use.names is true, the names are taken from the names on x, if any.
base::lengths()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.