R/formula.compareGroups.R

formula.compareGroups<-
function (x, ...) 
{
    form <- attr(x,"form")$formula
    if (!is.null(form)) {
        form <- formula(attr(x,"form")$terms)
        environment(form) <- environment(attr(x,"form")$formula)
        form
    }
    else formula(x$terms)
}

Try the compareGroups package in your browser

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

compareGroups documentation built on Oct. 12, 2023, 1:08 a.m.