osmose_demo | R Documentation |
Run demo
osmose_demo(path = NULL, config = c("gog", "eec_4.3.0"))
path |
Path where to put the Osmose configuration file. |
config |
Reference configuration to run ("eec_4.3.0"). |
A list containing the configuration file to use (config_file) for running the code and the output directory to use when reading data.
So far, only one configuration is propose ("eec_4.3.0")
## Not run: rm(list=ls()) library("osmose") # Copy configuration files into the proper directory demo = osmose_demo(path="../", config="eec_4.3.0") # run the osmose model run_osmose(demo$config_file, parameters=NULL, output=NULL, version="4.3.2", options=NULL, verbose=TRUE, clean=TRUE) # reads output data data = read_osmose(demo$output_dir) # summarize output data summary(data) # plot output data plot(data) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.