R/residuals.procrustes.R

`residuals.procrustes` <-
  function (object, ...)
{
  distance <- object$X - object$Yrot
  resid <- rowSums(distance^2)
  sqrt(resid)
}

Try the vegan package in your browser

Any scripts or data that you put into this service are public.

vegan documentation built on Oct. 11, 2022, 5:06 p.m.