makelist | R Documentation |
makelist is a utility that performs the common task of making a list structure of the same length as the vector of names input. It also names each of the list components after the vector of names. The output list structure is then ready to be populated with results.
makelist(scenes)
scenes |
an vector of character names describing different scenarios |
a list of length scenes names for the vector of names in scenes
scenarios <- c("base_case","higher_M","Lower_M")
changeM <- makelist(scenes=scenarios)
changeM
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.