R/l.variance.R

Defines functions l.variance

Documented in l.variance

l.variance = function(V) {
  # Calculate approximate variance of Blair and Lacy's (2000) l (L2)
  # V should be a frequency vector
  # From Blair and Lacy 2000: 274
  lsquared = concentration(V,2)^2
  l.var = lsquared.variance(V)/(4 * lsquared)
  return(l.var)
}

Try the agrmt package in your browser

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

agrmt documentation built on Jan. 5, 2024, 3:01 a.m.