logLik.jmodelTM <- function (object, ...) {
if (!inherits(object, "jmodelTM"))
stop("Only used for 'jmodelTM' objects.\n")
out <- object$logLik
attr(out, "df") <- nrow(object$Vcov)
attr(out, "n") <- object$n
class(out) <- "logLik"
out
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.