R/terms.mixmeta.R

Defines functions terms.mixmeta

Documented in terms.mixmeta

###
### R routines for the R package mixmeta (c)
#
terms.mixmeta <-
function(x, type="fixed", ...)  {
#
################################################################################
# METHOD TO EXTRACT THE TERMS 
#
  # CHECK TYPE
  type <- match.arg(type, c("fixed","full"))
#
  # SELECT
  tt <- if(type=="full") attr(model.frame(x), "terms") else x$terms
#
  tt
}

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.