R/model.frame.mixmeta.R

Defines functions model.frame.mixmeta

Documented in model.frame.mixmeta

###
### R routines for the R package mixmeta (c)
#
model.frame.mixmeta <-
function(formula, ...) {
#
################################################################################
#
  if(is.null(formula$model)) {
    fcall <- formula$call
    fcall$method <- "model.frame"
    env <- environment(formula$terms)
    if(is.null(env)) env <- parent.frame()
    eval(fcall, env)
  }
  else formula$model
}

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.