R/slashTerms.R

slashTerms <-
function (x) 
{
    if (!("/" %in% all.names(x))) 
        return(x)
    if (x[[1]] != as.name("/")) 
        stop("unparseable formula for grouping factor")
    list(slashTerms(x[[2]]), slashTerms(x[[3]]))
}

Try the hsem package in your browser

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

hsem documentation built on Nov. 12, 2021, 5:07 p.m.