View source: R/shearwater-functions.R
| estimateRho | R Documentation | 
It uses a method of moments approximation to estimate rho from the variances of the relative frequencies nu across samples
estimateRho(x, mu, ix, pseudo.rho = .Machine$double.eps)
x | 
 counts  | 
mu | 
 relative frequency across all samples  | 
ix | 
 index indicating the set of samples to use (typically indicating those with relative frequency smaller than 0.1).  | 
pseudo.rho | 
 a pseudo count added to each sample to avoid problems with zeros. Default = .Machine$double.eps  | 
rho
Experimental code, subject to changes
mg14
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.