add_name_column | R Documentation |
Add list name as a column to a list of data.frames.
add_name_column(dlist, destinationColumn)
dlist |
named list of data.frames |
destinationColumn |
character, name of new column to add |
list of data frames, each of which as the new destinationColumn.
dlist <- list(a = data.frame(x = 1), b = data.frame(x = 2))
add_name_column(dlist, 'name')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.