Description Usage Arguments Value See Also
Computes the fraction of total concentration or flux prediction that is attributable to a correction such as the residuals correction of composite method models.
loadComp
models: The correction fraction for a composite method
(loadComp
) model is defined here as:
CF = (∑ |R| Δ t) / (∑ L Δ t)
where ∑ indicates a sum over all predictions, L is the vector of composite predictions of flux or concentration, R is the vector of interpolated residuals in the same format (flux or concentration, non-log space) as L, and Δ t is the vector of time periods represented by the predictions.
1 2 3 4 5 6 | getCorrectionFraction(load.model, flux.or.conc = c("flux", "conc"), newdata,
...)
## S3 method for class 'loadComp'
getCorrectionFraction(load.model, flux.or.conc = c("flux",
"conc"), newdata, na.rm = FALSE, ...)
|
load.model |
The load model from which to pull the correction fraction. |
flux.or.conc |
character. Should the metric be computed with respect to predictions of flux rate or concentration? |
newdata |
The data for which to compute the correction fraction, usually containing daily or instantaneous discharge. |
... |
Other arguments passed to class-specific implementations of getCorrectionFraction. |
na.rm |
logical. Should predictions with NA values be excluded? |
A value between 0 and 1 indicating the fraction of total load that is attributed to a correction.
Other diagnostics: estimateRho
,
residDurbinWatson
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.