Skip to contents

Get the Lenghts of List Elements

Usage

getElementLengths(x)

Arguments

x

a list

Value

vector of integer

Examples

x <- list(a = 1:3, b = list(x = 1, y = 2), c = 1:100)
getElementLengths(x)
#>   a   b   c 
#>   3   2 100