Description Usage Arguments Details
Fits linear models to log-log relationships using 'mgcv::lm', 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 lm formula. See 'help("lm")' for details. |
data |
an object of class rcData, generated using 'makeModelData', or a data frame that makeModelData can use. |
... |
further arguments passed to 'mgcv::gam' |
timeout |
the amount of time in seconds to try mgcv::gam before stopping with a timeout error |
Dots get passed to lm() 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.