Learn R Programming

BTSPAS (version 2024.5.9)

SimplePetersen: Simple Petersen Estimator and test if pooling can be done

Description

Computes the Petersen estimator (Chapman correction applied) for the number of UNMARKED animals (U) and total population (N) given n1, m2, and u2.

Usage

SimplePetersen(n1, m2, u2)

Value

Data frame with variables U.est, U.se, N.est, and N.se. .

Arguments

n1

Number of animals tagged and released. Can be a vector in which the estimate is formed for each element of the vector

m2

Number of animals from n1 that are recaptured.

u2

Number of unmarked animals in the second sample.

Author

Bonner, S.J. sbonner6@uwo.ca and Schwarz, C. J. cschwarz.stat.sfu.ca@gmail.com.

Examples

Run this code
 
SimplePetersen( 200, 10, 300) 
SimplePetersen(c(200,400), c(10,20), c(300,600))

Run the code above in your browser using DataLab