estimateNLLSmetrics: estimateNLLSmetrics

Description Usage Arguments Value

View source: R/estimateNLLSmetrics.R

Description

Computes all model performance and other summary metrics and diagnostics for the estimated model for calibration sites, as reported in the ~/estimate/(run_id)_summary.txt file.

Executed By: estimate.R
Executes Routines:


Usage

1
2
3
4
estimateNLLSmetrics(if_estimate, if_estimate_simulation, if_sparrowEsts,
  sparrowEsts, file.output.list, classvar, dlvdsgn, Csites.weights.list,
  estimate.input.list, Csites.list, SelParmValues, subdata, sitedata,
  DataMatrix.list, batch_mode)

Arguments

if_estimate

yes/no indicating whether or not estimation is run

if_estimate_simulation

character string setting from sparrow_control.R indicating whether estimation should be run in simulation mode only.

if_sparrowEsts

value of 1 if_estimate_simulation<-'no' indicating calculation of Jacobian diagnostics and 0 if_estimate_simulation<-'yes' indicating no calculation of Jacobian diagnostics

sparrowEsts

list object contained in estimate.list if_estimate<-'yes'. For more details see documentation Section 5.2.4.4.

classvar

character vector of user specified spatially contiguous discrete classification variables from sparrow_control. First element is reach classification variable.

dlvdsgn

design matrix imported from design_matrix.csv

SelParmValues

selected parameters from parameters.csv using condition ifelse((parmMax > 0 | (parmType=="DELIVF" & parmMax>=0)) & (parmMin<parmMax) & ((parmType=="SOURCE" & parmMin>=0) | parmType!="SOURCE")

subdata

data.frame input data (subdata)

sitedata

Sites selected for calibration using subdata[(subdata$depvar > 0), ]

batch_mode

yes/no character string indicating whether RSPARROW is being run in batch mode

Value

estimate.metrics.list named list of summary metrics. For more details see documentation section 5.2.4


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