R/lines.spantree.R

`lines.spantree` <-
    function (x, ord, display = "sites", ...)
{
    ord <- scores(ord, display = display, ...)
    tree <- x$kid
    if (x$n > 1)
        ordiArgAbsorber(ord[-1, 1], ord[-1, 2], ord[tree, 1], ord[tree, 2],
                        FUN = segments, ...)
    invisible()
}

Try the vegan package in your browser

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

vegan documentation built on May 2, 2019, 5:51 p.m.