Supplement 1. Examples of R code to fit models.

<h2>File List</h2><blockquote> <a href="FalsePositiveLikelihoods.R">FalsePositiveLikelihoods.R</a><br> <a href="FPdatasets.Rdata">FPdatasets.Rdata</a> </blockquote><h2>Description</h2><blockquote> <p>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).</p> </blockquote>