createOptions: Create a list with default start options.

Description Usage Arguments Value Examples

View source: R/createOptions.R

Description

createOptions creates a list with start options that can be modified and passed as argument to launchApp.

Usage

1
createOptions(site_name = NULL)

Arguments

site_name

An arbitrary string containing the name of the monitoring site.

Value

A list containing essential model parameters and start options.

Examples

1
2
3
4
5
6
7
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)
}

andrejadd/GWSDAT documentation built on Dec. 5, 2019, 3:12 a.m.