Description Usage Arguments Value
View source: R/setNLLSWeights.R
Assigns the user-defined weights to the system variable 'weight', used to
execute a weighted NLLS model estimation. Also calculates the variable 'tiarea' (sum of the
incremental drainage area of reaches located between monitoring sites), used to calculate weighting
expressions based on the size of the intervening areas between sites.
Executed By: startModelRun.R
Executes Routines:
assignIncremSiteIDs.R
errorOccurred.R
named.list.R
unPackList.R
1 2 | setNLLSWeights(NLLS_weights, run_id, subdata, sitedata, data_names,
minimum_reaches_separating_sites, batch_mode)
|
NLLS_weights |
character string control setting to select regression weights |
run_id |
character string control setting indicating the current model name |
subdata |
data.frame input data (subdata) |
sitedata |
Sites selected for calibration using |
data_names |
data.frame of variable metadata from data_Dictionary.csv file |
minimum_reaches_separating_sites |
number indicating the minimum number of reaches separating sites |
batch_mode |
yes/no character string indicating whether RSPARROW is being run in batch mode |
Csites.weights.list
regression weights as proportional to incremental area size
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.