Description Usage Arguments Value Examples
combine_rdfs()
creates one rdf file containing data for that rdf file from
multiple scenarios.
1 | combine_rdfs(rdfs, scenarios, scen_path, out_path)
|
rdfs |
A vector of rdf(s) to combine. There will be one rdf file created for each provided rdf file. |
scenarios |
A vector of scenarios. The specified |
scen_path |
Top level directory of all the specified |
out_path |
Where to save the combined rdfs. |
Invisibly returns a vector of the file names of all the rdfs that were created.
1 2 3 4 5 6 7 8 9 10 | ## Not run:
scens <- "Apr2020_2021,DNF,2007Dems,IG_DCP,MTOM_Most"
rdfs <- paste0(c('KeySlots','Flags'),'.rdf')
scen_path <- 'M:/Shared/CRSS/2020/Scenario'
x <- combine_rdfs(rdfs, scens, scen_path, "C:/test")
# the following would be c(TRUE, TRUE)
x == c("C:/test/KeySlots.rdf", "C:/test/Flags.rdf")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.