Learn R Programming

epiR (version 2.0.75)

epi.popsize: Estimate population size on the basis of capture-recapture sampling

Description

Estimates population size on the basis of capture-recapture sampling.

Usage

epi.popsize(T1, T2, T12, conf.level = 0.95, verbose = FALSE)

Value

Returns the estimated population size and an estimate of the numbers of individuals that remain untested.

Arguments

T1

an integer representing the number of individuals tested in the first round.

T2

an integer representing the number of individuals tested in the second round.

T12

an integer representing the number of individuals tested in both the first and second round.

conf.level

magnitude of the returned confidence interval. Must be a single number between 0 and 1.

verbose

logical indicating whether detailed or summary results are to be returned.

References

Cannon RM, Roe RT (1982). Livestock Disease Surveys A Field Manual for Veterinarians. Australian Government Publishing Service, Canberra, pp. 34.

Examples

Run this code
## EXAMPLE 1:
## In a field survey 400 feral pigs are captured, marked and then released.
## On a second occassion 40 of the orignal capture are found when another 400    
## pigs are captured. Estimate the size of this feral pig population. Estimate     
## the number of feral pigs that have not been tested.

epi.popsize(T1 = 400, T2 = 400, T12 = 40, conf.level = 0.95, verbose = FALSE)

## Estimated population size: 4000 (95% CI 3125 to 5557)
## Estimated number of untested pigs: 3240 (95% CI 2365 to 4797) 

Run the code above in your browser using DataLab