R/logLik.sglg.R

Defines functions logLik.sglg

Documented in logLik.sglg

#' Extract Log-Likehood
#'
#' logLik.sglg extracts log-likehood from a model from an object of class 'sglg'.
#' @param object an object of the class sglg. This object is returned from the call to glg(), sglg(), survglg() or ssurvglg() function.
#' @param ... other arguments.
#' @export
logLik.sglg <- function(object, ...) {
    object$llglg
}

Try the sglg package in your browser

Any scripts or data that you put into this service are public.

sglg documentation built on Sept. 4, 2022, 9:05 a.m.