Description Usage Arguments Value See Also Examples
Compute the root-mean-squared error (RMSE) of the difference between observed values and the fitted values for the load or concentration model. The RMSEs will be the same unless the log of flow is not an explanatory variable.
1 2 |
x |
the output from |
model |
the type of model, must be either "load" or "concentration." |
... |
not used, required for other methods. |
The estimated root-mean-squared error, also know as the residual standard error.
1 2 3 4 5 6 | # From application 1 in the vignettes
data(app1.calib)
app1.lr <- loadReg(Phosphorus ~ model(1), data = app1.calib,
flow = "FLOW", dates = "DATES", conc.units="mg/L",
station="Illinois River at Marseilles, Ill.")
rmse(app1.lr)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.