R/misc.metaplus.R

Defines functions AIC.metaplus logLik.metaplus

Documented in AIC.metaplus logLik.metaplus

logLik.metaplus <- function(object, ...)
{
    logLik(object$fittedmodel)
}

BIC.metaplus <-
function (object, ...) 
{
    if (!is.element("metaplus", class(object))) 
        stop("Argument 'object' must be an object of class \"metaplus\".")
    BIC(object$fittedmodel)
}

AIC.metaplus <-
function(object,...) {
    if (!inherits(object, "metaplus"))
        stop("Use only with 'metaplus' objects.\n")
    AIC(object$fittedmodel)
}

Try the metaplus package in your browser

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

metaplus documentation built on July 4, 2024, 5:08 p.m.