Description Usage Arguments Value Examples
Parse/split a tibble into a list according to one column. Ideally one column has categorical variable thus can be eatracted, each level would become a new element name of the list.
1 | split_tibble(tibble, column, keep)
|
tibble |
a tibble object that has at least two columns. |
column |
String. The column used as index, preferably contains categorical variable. |
keep |
String. The single or multiple column names to keep. |
A list. The selected column with preferably differetn levels would be used as index and the rest or selected columns would be kept. The tibble would become a list.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.