Learn R Programming

bayess (version 1.6)

pcapture: Posterior probabilities for the multiple stage capture-recapture model

Description

This function computes the posterior expectation of the population size for a multiple stage capture-recapture experiment (Chapter 5) under a uniform prior on the range (0,400).

Usage

pcapture(T, nplus, nc)

Value

numerical value of the posterior expectation

Arguments

T

number of experiments

nplus

total number of captured animals

nc

total number of captures

Details

This analysis is based on the restrictive assumption that all dippers captured in the second year were already present in the population during the first year.

See Also

pdarroch

Examples

Run this code
sum((1:400)*pcapture(2,70,81))

Run the code above in your browser using DataLab