Supplement 1. The R code with embedded WinBUGS specification to run the simulation study and a separate WinBUGS file with specification for the spatially explicit open population model used in the Pampas cat study.
<h2>File List</h2><blockquote>
<p><a href="RCODE.txt">RCODE.txt</a></p><br>
<p><a href="WINBUGS.txt">WINBUGS.txt</a></p>
</blockquote><h2>Description</h2><blockquote>
<p>"RCODE.txt" : This file contains the R code with the WinBUGS specification to run the simulation study with <i>T</i> = 3 for the spatially explicit open population model. N, φ, σ, M, and other parameters can be adjusted to simulate various size data sets. In the specification, we create some data such as “grid”, a J × 2 matrix of the (x,y) locations of the traps and we estimate other parameters such as the SX and SY, the estimated (x,y) locations of the activity centers. This code calls WinBUGS from within R using the R2WinBUGS package.</p>
<p>"WINBUGS.txt" : WinBugs specification for the spatially explicit open population model used in the Pampas cat study. There are only <i>T</i> = 2 time periods in this specification. Here, “trapmat” is a J × 2 matrix of the (x,y) locations of the traps and SX and SY are the estimated (x,y) locations of the activity centers. “year” is an indicator variable that tells if a trap <i>j</i> was operational during year <i>t</i> of the survey.</p>
</blockquote