View source: R/list_to_list_names.R
| list_to_list_names | R Documentation | 
Convert a single list to a list of lists, with the names of the lists taken
from the original list, list_of_names.  The new lists will all have a
single value, initialized as value.
list_to_list_names(list_of_names, value = 0)
list_of_names | 
 a list of values, likely strings, to be the names of sub-lists in a new list of lists  | 
value | 
 a value to initialize elements of all sub-lists to. Defaults to
  | 
returns a list of lists with sub-list names from list_of_names
and first elements from value.  Used inside determine_entries
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.