
Last chance! 50% off unlimited learning
Sale ends in
Length of each element within a list
lengths(alist, out = "vector")
a list
string indicating the format of the output ("vector"
or
"list"
)
A vector (or list) with the lengths of the elements in alist
Internal function.