Description Usage Arguments Details Value See Also Examples
Estimate loads from a rating-curve model from loadReg
for a new data frame, aggregating the loads by specified time
periods.
1 2 3 |
fit |
the output from |
newdata |
a data frame of the prediction variables. Missing values
are not permitted in any column in |
load.units |
a character string indicating the units of the
predicted loads/fluxes. By default, uses the value specified in
|
by |
the time frame for estimates. See |
seopt |
a character string indicating how to comute the standard error of the aggregated load estimates, must be either "exact" or "approximate." Only the first letter is necessary. |
allow.incomplete |
compute loads for periods withing
missing values or incomplete record? See |
conf.int |
the confidence interval to compute for loads
computed by "day" or "unit." The confidence interval is fixed at
0.95 for any other value for |
print |
print a report summary of the load estimate? |
The time frame specified by by
can be "unit,"
"day," "month," "water year," "calendar year," "total," or
the name of a column in newdata
that can be used to
group the data.
If allow.incomplete
is TRUE
, then loads will be
computed based on all nonmissing values, otherwise missing values
NAs
will be returned. For this application, missing values
includes NAs
and gaps in the record, except for by
set to "total" or user defined groups where missing values only
includes NAs
. 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 load 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.")
predLoad(app1.lr, app1.calib)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.