Description Usage Arguments Details Author(s) See Also Examples
This function returns an integer vector with the length of the elements of its argument, which is expected to be a list.
1 | listLen(x)
|
x |
A list |
This function returns a vector of the same length as
the list x
containing the lengths of each element.
The current implementation is intended for lists containing vectors
and the C-level length function is used to determine length. This
means no dispatch is done for the elements of the list. If your
list contains S4 objects, you should use sapply(x, length)
instead.
Jeff Gentry and R. Gentleman
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.