Description Usage Arguments Value Note See Also Examples
Extract the model coefficients from a load regression.
1 2 |
object |
the output from |
summary |
include standard errors and other information? |
which |
string indicating which coefficients to return; "load" returns the load model and "concentration" returns the concentration model coefficients. |
... |
further arguments passed to or from other methods. |
Either a names vector of the coefficients, if summary
is
FALSE
or a matrix of the coefficients, their standard errors,
z-scores, and attained p-values, if summary
is TRUE
.
The attained p-values are computed from the log-likelihood test for AMLE regression and from a Wald chi-square test for MLE regression.
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 coefficients
coef(app1.lr)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.