Supplement 1. Examples of R code to fit models.
The FalsePositiveLikelihoods.R file contains scripts for R (ver 2.12.1) to calculate each of the basic likelihoods presented in the paper. The script calls the example datasets FPdatasets.Rdata which give examples fitting the same data set using each of the models. The script also gives an example for estimating occupancy when detection is a function of a covariate (dist).