View source: R/createOptions.R
createOptions | R Documentation |
createOptions
creates a list with start options that can be modified
and passed as argument to launchApp
.
createOptions(site_name = NULL)
site_name |
An arbitrary string containing the name of the monitoring site. |
A list containing essential model parameters and start options.
opt <- createOptions("New Site 1") opt$PSplineVars$nseg <- 10 # modify model parameter for p-splines. opt$WellDataFilename <- 'path_to_concentration_file.csv' opt$WellCoordsFilename <- 'path_to_well_coordinate_file.csv' if(interactive()) { launchApp(opt) }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.