n2n | R Documentation |
base function used to create list_to_vecs, recommend using that instead. This function takes a list comprised only of lists and converts the list elements to vectors. list_to_vecs takes any list/dataframe and converts any elements that are lists to vectors. This is useful when using functions like pivot_wider which can often return lists of lists.
n2n(x)
x |
list of lists which you would like to convert to a list of vectors. this must be all lists, if a list element is instead a vector this function will cause errors. |
n2n_function()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.