R/drop.scope.svocc.R

drop.scope.svisit <-
function (terms1, terms2, model = c("sta", "det")) 
{
    model <- match.arg(model)
    terms1 <- terms(terms1, model)
    f2 <- if (missing(terms2)) 
        numeric(0)
    else attr(terms(terms2, model), "factors")
    factor.scope(attr(terms1, "factors"), list(drop = f2))$drop
}

Try the detect package in your browser

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

detect documentation built on May 2, 2019, 4:50 p.m.