R/drop1.mixmeta.R

Defines functions drop1.mixmeta

###
### R routines for the R package mixmeta (c)
#
drop1.mixmeta <-
function(object, ...) {
#
################################################################################
# COMPUTE TABLE OF CHANGE IN FIT WHEN DROPPING TERMS. ONLY FOR FIXED AND ML
#
  # CHECK ESTIMATION METHOD
  if(!object$method %in% c("fixed","ml")) 
    stop("Fit only comparable in models with method='fixed' or method='ml'")
#
  # RUN GENERIC
  NextMethod(generic="drop1", ...)
}

Try the mixmeta package in your browser

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

mixmeta documentation built on Oct. 16, 2021, 5:09 p.m.