Description Usage Arguments Value References
View source: R/nielsenTransform.R
Inverses of squared frequencies are commonly used to estimate so-called
effective numbers of mates, alleles etc., but these estimates are subject
to bias especially at low sample sizes. The common method of handling
low sample sizes (the r
estimates provided here) involve a
subtraction of 1 from observed counts and produce no values for 1-sized
groups. This function starts with squared frequencies and group sizes
and transforms them into approximately unbiased estimates using the
method described by Nielsen et al. (2003).
1 | nielsenTransform(q.gg, n.g)
|
q.gg |
Vector of squared frequencies |
n.g |
Vector with group size for each element of |
q.gg
vector with the Nielsen et al. transform applied
Nielsen, R., Tarpy, D. R. and Reeve, H. K. (2003) Estimating effective paternity number in social insects and the effective number of alleles in a population. Molecular Ecology 12:3157-3164.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.