Description Usage Arguments Details Value Author(s)
Create a dataset of elements of a list or list of elements of a dataset
1 | list_vs_df(list, output = c("list_to_dfs", "dfs_to_list"))
|
list |
list or dataset (inside a list) |
output |
type of output (list or dataset) |
This function allows you to create a dataset of elements of a list or from a dataset create a list with sublists of the elements of the dataset
"This function returns two possible results
:"
If output
is "list_to_dfs"
then convert a list of lists to a a dataset inside a list
If output
is "dfs_to_list"
then convert a dataset to a list where each column of the dataset is going to be a sublist and each observation is going to be another sublist of the sublist of the column.
Eduardo Trujillo
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.