Learn R Programming

divo (version 1.0.0)

cvg: cvg Coverage

Description

Calculates the sample coverage estimate using the Good-Turing formula. The sample coverage is an estimate of the probability of pulling a new species in the next draw, given a set of past observations For more details on CVG see Good I.J. (1953).

Usage

cvg(x)

Arguments

x

a vector containing input population

References

Good I.J. The population frequencies of species and the estimation of population parameters. (1953) Biometrika 40:237-64

Rempala G.A., Seweryn M. Methods for diversity and overlap analysis in T-cell receptor populations. (2013) J Math Biol 67:1339-68

Examples

Run this code
# NOT RUN {
data(TCR.Data)
result <- cvg(x[,1])
# }

Run the code above in your browser using DataLab