logLik.loadReg: Extract Log-Likelihood

Description Usage Arguments Value See Also Examples

View source: R/logLik.loadReg.R

Description

Compute the log-likelihood statistics for a load regression.

Usage

1
2
## S3 method for class 'loadReg'
logLik(object, ...)

Arguments

object

the output from loadReg.

...

further arguments passed to or from other methods.

Value

An object of class "logLik" containing the log-likelihood and the attributes "df" (degrees of freedom) and "nobs" (number of observations).

See Also

loadReg,

Examples

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.")
logLik(app1.lr)

USGS-R/rloadest documentation built on Oct. 2, 2020, 5:21 a.m.