lists_to_tibble: Convert list of lists to tibble.

lists_to_tibbleR Documentation

Convert list of lists to tibble.

Description

Convert list of lists to tibble.

Usage

lists_to_tibble(l, do_replace_list_nulls = TRUE, do_bind_rows = TRUE)

Arguments

l

A list of lists.

do_replace_list_nulls

A logical scalar: if TRUE, first replace NULL items in each sublist by NAs.

do_bind_rows

A logical scalar: if TRUE, bind all tibbles by rows, otherwise return a list of tibbles.

Value

See the do_bind_rows argument.

Examples

lists_to_tibble(list(list(a = 1, b = 2), list(b = 3, a = 4, c = 5)))
lists_to_tibble(list(list(a = 1, b = 2), list(b = 3, a = 4, c = 5)), do_bind_rows = FALSE)

bioinfocz/scdrake documentation built on Sept. 19, 2024, 4:43 p.m.