R/plot.radline.R

"plot.radline" <-
    function (x, xlab = "Rank", ylab = "Abundance", type = "b", ...) 
{
    rad <- x$y
    fit <- fitted(x)
    rnk <- seq(along = rad)
    plot(rnk, rad, log = "y", xlab = xlab, ylab = ylab, type = "n", 
         ...)
    out <- NULL
    if (type == "b" || type == "p") 
        out <- points(x, ...)
    if (type == "b" || type == "l") 
        lines(x, ...)
    invisible(out)
}

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.