R/scores.decorana.R

"scores.decorana" <-
function (x, display=c("sites","species"), choices = 1:4, origin=TRUE, ...) 
{
   display <- match.arg(display)
   if(display == "sites")
      X <- x$rproj
   else if(display == "species")
      X <- x$cproj
   if (origin)
      X <- sweep(X, 2, x$origin, "-")
   X <- X[,choices]
   X 
}

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.