R/CV.R

Defines functions CV

Documented in CV

CV <-
function(x)
{
  n = length(x)
  v = ((n-1)/n)*var(x)
  cv = sqrt(v)/abs(mean(x))
  return(cv)
}

Try the multiColl package in your browser

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

multiColl documentation built on May 2, 2019, 4:53 p.m.