R/residuals.procrustes.R

"residuals.procrustes" <-
  function (object, ...) 
{
  distance <- object$X - object$Yrot
  resid <- apply(distance^2, 1, sum)
  resid <- sqrt(resid)
  resid
}

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.