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 July 21, 2022, 9:06 a.m.