R/loglik.R

Defines functions logLik.ml_analysis

#' @export
logLik.ml_analysis <- function(object, ...) {
  chk_unused(...)
  x <- object$optim$value
  df <- length(coef(object))
  structure(x, class = "logLik", df = df)
}
poissonconsulting/ml documentation built on Jan. 29, 2020, 5:42 p.m.