createOptions: Create a list with default start options.

View source: R/createOptions.R

createOptionsR Documentation

Create a list with default start options.

Description

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

Usage

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

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)
}

levvers/GWSDAT documentation built on March 4, 2024, 6:06 p.m.