Learn R Programming

evgam (version 0.1.4)

logLik.evgam: Log-likelihood, AIC and BIC from a fitted evgam object

Description

Log-likelihood, AIC and BIC from a fitted evgam object

Usage

# S3 method for evgam
logLik(object, ...)

Arguments

object

a fitted evgam object

...

not used

Value

A scalar

Examples

Run this code
# NOT RUN {
data(fremantle)
fmla_gev <- list(SeaLevel ~ s(Year, k=5, bs="cr"), ~ 1, ~ 1)
m_gev <- evgam(fmla_gev, fremantle, family = "gev")
logLik(m_gev)
AIC(m_gev)
BIC(m_gev)

# }

Run the code above in your browser using DataLab