map_list_lengths: Generate a data.frame map of a list's lengths, or the lengths...

Description Usage Arguments Value Examples

View source: R/map_list_lengths.R

Description

Generate a data.frame map of a list's lengths, or the lengths of lists within a list

Usage

1

Arguments

data1

a list or list of lists composed of the same elements

data.frame

logical, if TRUE return output as data.frame

Value

Returns a table or data.frame with the lengths of each list element

Examples

1
2
3
map_list_lengths(htests[[1]])
map_list_lengths(htests[[5]])
map_list_lengths(htests[[5]][[1]])

gitronald/htester documentation built on May 17, 2019, 5:30 a.m.