Learn R Programming

serp (version 0.2.5)

logLik.serp: Log-likelihood for a fitted serp object

Description

Returns the Log-likelihood for a fitted object of class serp.

Usage

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

Value

A single numeric value of model log-likelihood

Arguments

object

An object of class serp.

...

additional arguments.

See Also

serp, AIC.serp, BIC.serp, coef.serp

Examples

Run this code
library(serp)
m <- serp(rating ~ temp + contact, slope = "parallel", link = "loglog",
          data = wine)
logLik(m)

Run the code above in your browser using DataLab