These functions remove a level hierarchy from a list. They are similar to
unlist(), but they only ever remove a single layer of hierarchy and they
are type-stable, so you always know what the type of the output is.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
A list to flatten. The contents of the list can be anything for
Either a string or
Only applies to
flatten() returns a list,
flatten_lgl() a logical
flatten_int() an integer vector,
double vector, and
flatten_chr() a character vector.
flatten_dfc() return data frames created by
row-binding and column-binding respectively. They require dplyr to
1 2 3 4 5 6 7 8 9
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.