R/ordiTerminfo.R

Defines functions `ordiTerminfo`

`ordiTerminfo` <-
    function(d, data)
{
    Terms <- delete.response(d$terms.expand)
    if (length(attr(Terms, "term.labels")) == 0)
        mf <- data.frame(NULL)
    else
        mf <- d$modelframe
    xlev <- .getXlevels(Terms, mf)
    ordered <- sapply(mf, is.ordered)
    assign <- attr(d$Y, "assign")
    list(terms = Terms, assign = assign, xlev = xlev, ordered = ordered)
}

Try the vegan package in your browser

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

vegan documentation built on Sept. 11, 2024, 7:57 p.m.