Description Usage Arguments Details Value See Also Examples
Estimate concentrations from a rating-curve model from loadReg
for a new data frame.
1 2 |
fit |
the output from |
newdata |
a data frame of the prediction variables. MIssing values
are not permitted in any column in |
by |
the time frame for estimates. See |
allow.incomplete |
compute loads for periods withing
missing values or incomplete record? See |
conf.int |
the confidence interval to compute for concentrations.
See |
The time frame specified by by
must be either "unit" or
"day."
If allow.incomplete
is TRUE
, then concentrations will be
computed based on all nonmissing values, otherwise missing values
NAs
will be returned. For this application, missing values
includes NAs
and incomplete days. For prediction by "day" when
there are variable number of unit values per day, allow.incomplete
must be set to TRUE
.
The term confidence interval is used here as in the original documentation for LOADEST, but the values that are reported are the prediction intervals, computed from the SEP.
A data frame containing the concnetration estimates.
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.")
predConc(app1.lr, app1.calib)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.