powered by
A simple function to compute the lengths of the elements of an R list
c_listlengths(L)
An integer vector containing the length of each element of L
L
a list
This is equivalent to the base::lengths however it it much faster for long lists (and somewhat slower for short ones).
base::lengths