Learn R Programming

GWSDAT (version 3.2.1)

createOptions: 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)

Value

A list containing essential model parameters and start options.

Arguments

site_name

An arbitrary string containing the name of the monitoring site.

Examples

Run this code
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)
}

Run the code above in your browser using DataLab