Description Usage Arguments Value Note Examples
Thins function
1 | osmose_demo(path = NULL, config = "gog")
|
path |
Path where to put the Osmose configuration file. |
config |
Reference configuration to run ("gog"). |
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 ("gog")
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | ## Not run:
rm(list=ls())
library("osmose")
# Copy configuration files into the proper directory
demo = osmose_demo(path="../", config="gog")
# run the osmose model
run_osmose(demo$config_file, parameters=NULL, output=NULL, version="3.3.3",
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.