Learn R Programming

tramME (version 0.0.1)

logLik.tramME: Get the log-likelihood of the model

Description

Get the log-likelihood of the model

Usage

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

Arguments

object

A fitted tramME model

...

Optional argument (for consistency with generic)

Value

A numeric value of the log-likelihood at its optimum.

Examples

Run this code
# NOT RUN {
data("sleepstudy", package = "lme4")
fit <- LmME(Reaction ~ Days + (Days | Subject), data = sleepstudy)
logLik(fit)
# }

Run the code above in your browser using DataLab