Description Usage Arguments Details Value Author(s) See Also

View source: R/logLik.modTempEff.R

Function to extract the log-likelihood for a fitted `modTempEff`

model.

1 2 |

`object` |
fitted model objects of class |

`...` |
ignored |

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.

Standard `logLik`

object: see `logLik`

.

Vito M. R. Muggeo [email protected] based directly on `logLik.gam`

in `mgcv`

package by S. Wood.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.