Description Usage Arguments Value See Also Examples
View source: R/fitted.loadReg.R
Extract the fitted values of a load regression.
1 2 3 |
object |
an object of class "loadReg"—output from |
suppress.na.action |
logical, suppress the effects of the
|
which |
a character string indicating the type of fitted values. Must be either "load" or "concentration." |
... |
further arguments passed to or from other methods. |
The fitted values from the regression. Note that these are not back- transformed but are in natrual log units.
1 2 3 4 5 6 7 | # 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.")
# Extract the fitted values
fitted(app1.lr)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.