R/initMDS.R

"initMDS" <-
  function(x, k=2)
{
  nr <- attr(x, "Size")
  res <- runif(nr*k)
  dim(res) <- c(nr,k)
  res
}

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.