Description Usage Arguments Details
Fits generalized additive models to log-log relationships using 'mgcv::gam', but incorporates aspects specific to hydrologic rating curves. Specifically, tracks the geometric mean of flow and concentration, adjusts for transformation bias, and calculates relevant fit statistics such as Nash-Sutcliffe efficiency (NSE)
1 |
formula |
a GAM formula. See 'help("gam", package = "mgcv")' for details. |
data |
an object of class rcData, generated using 'makeModelData', or a data frame that makeModelData can use. |
timeout |
the amount of time in seconds to try mgcv::gam before stopping with a timeout error |
... |
further arguments passed to 'mgcv::gam' |
Dots get passed to mgcv::gam() call. All logarithms are base e (natural log) Arguments ending in "var" are names of objects that will be assigned in the function. logflowvar and logcvar will be shifted to have mean zero. POSSIBLY CHANGE THIS?
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.