Description Usage Arguments Examples
This function loads the specified configuration with
load.config
and launches the web browser
using shiny::runApp
. [TODO: specify needed
config.R format in seperate help file.]
1 2 3 4 5 | launchApp(scenario = list(conf = ohicore::conf.Global2013.www2013, layers =
ohicore::layers.Global2013.www2013, scores =
ohicore::scores.Global2013.www2013, spatial =
system.file("extdata/spatial.www2013", package = "ohicore"), dir =
path.expand("~/myohi/scenario.Global2013.www2013")), debug = F, ...)
|
config.R |
path to configuration file |
... |
arguments passed to |
1 2 3 4 5 6 7 8 | ## Not run:
# for now, must make objects global
conf <<-
layers = layers.Global2013.www2013
scores = scores.Global2013.www2013
launchApp(conf.Global2013.www2013, layers, scores)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.