Skip to content

Feature Request: logLik method #188

@billdenney

Description

@billdenney

I was wanting to compare two models using AIC, so I needed a logLik function. Here it is in case you think it would help:

logLik.xpose_data <- function(object, ...) {
  structure(
    -0.5*as.numeric(rev(object$summary$value[object$summary$label == "ofv"])[1]),
    df=sum(!get_prm(object)$fixed),
    class="logLik"
  )
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions