logLik.modTempEff: Extract the log likelihood for a modTempEff fit

Description Usage Arguments Details Value Author(s) See Also

View source: R/logLik.modTempEff.R

Description

Function to extract the log-likelihood for a fitted modTempEff model.

Usage

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

Arguments

object

fitted model objects of class modTempEff as produced by tempeff().

...

ignored

Details

This function extracts the penalized log likelihood for a fit produced by tempeff(), namely a Poisson GAM fit as returned by mgcv::gam().

Notice that the model degrees of freedom are the effective degrees of freedom and not the number of coefficients, as the model is estimated by penalized likelihood.

Value

Standard logLik object: see logLik.

Author(s)

Vito M. R. Muggeo vito.muggeo@unipa.it based directly on logLik.gam in mgcv package by S. Wood.

See Also

AIC



modTempEff documentation built on May 19, 2017, 10:38 a.m.
Search within the modTempEff package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.