predictScenariosPrep: predictScenariosPrep

Description Usage Arguments Value

View source: R/predictScenariosPrep.R

Description

Sets up source reduction scenario applying change factors to specified areas

Executed By: predictScenarios.R
Executes Routines:


Usage

1
2
3
predictScenariosPrep(input, allMetrics, output_map_type, Rshiny,
  scenario.input.list, data_names, if_predict, data, srcvar, jsrcvar,
  dataNames, JacobResults, subdata, file.output.list)

Arguments

input

top level interactive user input in Shiny app

allMetrics

character string of all load, yield, uncertainty, and data dictionary variables to map in shiny batch mode

output_map_type

character string control setting to identify type of map(s) to output to PDF file from "stream","catchment", or "both"

Rshiny

TRUE/FALSE indicating whether routine is being run from the Shiny app

data_names

data.frame of variable metadata from data_Dictionary.csv file

if_predict

yes/no indicating whether or not prediction is run

data

DataMatrix.list$data to be used in source reduction scenario setup. For more details see documentation Section 5.2.3.1

srcvar

SelParmValues$srcvar to be used in source reduction scenario setup. For more details see documentation Section 5.2.3.2

jsrcvar

DataMatrix.list$data.index.list$jsrcvar to be used in source reduction scenario setup. For more details see documentation Section 5.2.3.1

dataNames

the names of the FIXED and REQUIRED system variables and explanatory variables associated with the user-specified model.

JacobResults

list output of Jacobian first-order partial derivatives of the model residuals estimateNLLSmetrics.R contained in the estimate.list object. For more details see documentation Section 5.2.4.5.

subdata

data.frame input data (subdata)

Value

scenarioPrep.list list of source change scenario setup control settings, data with change factors applied, and the scenarioFlag indicating the scenario mapping area


tbep-tech/tbepRSparrow documentation built on Oct. 9, 2020, 6:24 a.m.