powered by
Get the log-likelihood of the model
# S3 method for tramME logLik( object, param = c(coef(object, with_baseline = TRUE, fixed = FALSE), varcov(object, as.theta = TRUE)), newdata = NULL, ... )
A tramME object.
tramME
An optional vector of parameter values in the structure (beta, theta).
An optional data.frame to calculate the out-of-sample log-likelihood.
Optional argument (for consistency with generic).
A numeric value of the log-likelihood.
# 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