nielsenTransform: Transform vector of squared frequencies using the method of...

Description Usage Arguments Value References

View source: R/nielsenTransform.R

Description

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).

Usage

1
nielsenTransform(q.gg, n.g)

Arguments

q.gg

Vector of squared frequencies

n.g

Vector with group size for each element of q.gg

Value

q.gg vector with the Nielsen et al. transform applied

References

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.


douglasgscofield/dispersalDiversity documentation built on March 30, 2021, 9:50 a.m.