View source: R/SimplePetersen.R
SimplePetersen | R Documentation |
Computes the Petersen estimator (Chapman correction applied) for the number of UNMARKED animals (U) and total population (N) given n1, m2, and u2.
SimplePetersen(n1, m2, u2)
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. |
Data frame with variables U.est, U.se, N.est, and N.se. .
Bonner, S.J. sbonner6@uwo.ca and Schwarz, C. J. cschwarz.stat.sfu.ca@gmail.com.
SimplePetersen( 200, 10, 300)
SimplePetersen(c(200,400), c(10,20), c(300,600))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.