R/scores.ordihull.R

Defines functions `scores.ordihull`

## Extract the points in the hull as a one matrix
`scores.ordihull` <-
    function(x, ...)
{
    out <- NULL
    for(i in seq_along(x))
        out <- rbind(out, x[[i]])
    hulls <- rep(names(x), sapply(x, function(z) NROW(z)))
    attr(out, "hulls") <- hulls
    out
}
vegandevs/vegan documentation built on Sept. 1, 2024, 8:22 p.m.