Nstrat: Stratified Abundance Estimator

Description Usage Arguments Value Note Author(s) See Also Examples

View source: R/stratified.R

Description

Calculates the value of the stratified estimator for abundance in a mark-recapture experiment, from vectors of sample sizes and number of recaptures, with each element corresponding to each sampling stratum.

Usage

1
Nstrat(n1, n2, m2, estimator = "Chapman")

Arguments

n1

Vector of individuals captured and marked in the first sample, from each stratum

n2

Vector of individuals captured and marked in the second sample, from each stratum

m2

Vector of marked individuals recaptured in the second sample, from each stratum

estimator

The type of estimator to use. Allowed values are "Chapman", "Petersen", and "Bailey". Default to "Chapman".

Value

The value of the stratified estimator

Note

It is possible that even the stratified estimate may be biased if capture probabilities differ greatly between strata. However, the bias in the stratified estimator will be much less than an estimator calculated without stratification.

Author(s)

Matt Tyers

See Also

strattest, rstrat, vstrat, sestrat, cistrat, NChapman, NPetersen, NBailey

Examples

1
Nstrat(n1=c(100,200), n2=c(100,500), m2=c(10,10))

mbtyers/recapr documentation built on Sept. 13, 2021, 11:54 a.m.