R/model.frame.mvmeta.R

Defines functions model.frame.mvmeta

Documented in model.frame.mvmeta

###
### R routines for the R package mvmeta (c)
#
model.frame.mvmeta <- 
function(formula, ...) {
#
################################################################################
#
  dots <- list(...)
  nargs <- dots[match(c("data","na.action","subset"),names(dots),0L)]
  if (length(nargs) || is.null(formula$model)) {
    fcall <- formula$call
    fcall$method <- "model.frame"
    fcall[[1L]] <- as.name("mvmeta")
    fcall[names(nargs)] <- nargs
    env <- environment(formula$terms)
    if (is.null(env)) env <- parent.frame()
    eval(fcall, env)
  }
  else formula$model
}

Try the mvmeta package in your browser

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

mvmeta documentation built on Dec. 10, 2019, 5:07 p.m.