add_list_names_to_col_value | R Documentation |
Isert names of a list of data.frames to data.frames as column value.
add_list_names_to_col_value(lst, col_name)
lst |
named list of data.frames. |
col_name |
name of a columnof a data.frame to insert the name |
list of data.frames.
a <- list(data.frame(A = 1:3, B = 3:5), data.frame(A = 6:9, C = 1:4))
names(a) <- c("first", "second")
add_list_names_to_col_value(a, "D")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.