sep.date | R Documentation |
GCAM scenarios are named according to a user-supplied name and the date the scenario was run. The resulting format is "Scenario_Name,date=YYYY-DD?-MM?THH:MM:SS-hh:mm". ('X?' represents an X that might or might not be present. The user string and date are separated by exactly one space.) This function, therefore, splits the name string from the date. The scenario name is returned as is, and the date is converted to a date object. The results are returned as a list with elements 'scenario' and 'date'.
sep.date(scenstr)
scenstr |
The scenario string. This may be a vector, such as the 'scenario' column in a table of GCAM results |
list(scenario=Scenario_strings, date=Dates)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.