R code to run simulations that test for issues with variable detection in three SDMs (a PA data SDM, a PA+PO data SDM, and a PA+PO+Gear data SDM).
To initialise the simulation, run the R code in "setupSim.R" (may need to change directory settings and get packages that are used by this code).
To run simulation experiments, use the "startHere.R" file.
The gearSDM R code is in the file "bglm.r" and can be accessed with a call to the function "gearglm".