Skip to main content

sample_coverage

Function sample_coverage 

Source
pub fn sample_coverage(profile: &CountProfile) -> Option<f64>
Expand description

Estimated sample coverage Ĉ = 1 − (f₁/N)·A’ (Chao & Jost 2012, Eq. 4a), where A’ = (N−1)f₁/((N−1)f₁ + 2f₂), or (N−1)(f₁−1)/((N−1)(f₁−1) + 2) when f₂ = 0; 1 when f₁ = 0. None when N < 2.