R/SimTestRat.formula.R

Defines functions SimTestRat.formula

Documented in SimTestRat.formula

SimTestRat.formula <-
function(formula, ...) {
  resp <- all.vars(formula[[2]]) 
  grp  <- all.vars(formula[[3]]) 
  SimTestRat(grp=grp, resp=if (length(resp)==0) NULL else resp, ...)
}

Try the SimComp package in your browser

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

SimComp documentation built on Aug. 26, 2019, 5:03 p.m.