Learn R Programming

bayess (version 1.6)

pbino: Posterior expectation for the binomial capture-recapture model

Description

This function provides an estimation of the number of dippers by a posterior expectation, based on a uniform prior and the eurodip dataset, as described in Chapter 5.

Usage

pbino(nplus)

Value

returns a numerical value that estimates the number of dippers in the population

Arguments

nplus

number of different dippers captured

See Also

eurodip

Examples

Run this code
data(eurodip)
year81=eurodip[,1]
nplus=sum(year81>0)
sum((1:400)*pbino(nplus))

Run the code above in your browser using DataLab