Scripts, simulation results and visualizations for:

"Poaching pressure on African rhinos is still at all-
time high"

by Jasper A.J. Eikelboom & Herbert H.T. Prins

-----

The "scripts" folder contains the following R scripts:

"0_poaching_pressure_effort.r"
Functions to compute the poaching effort and pressure,
as described in the publication. With these functions
the poaching effort and pressure from Fig. 2 can be
computed by using the rhino population and poaching
data from Fig. 1.

"1_rhino_encounter_probability.r"
Script to generate the 2D probability surface from
Fig. 3.

"2_interturn_distance_pdf.r"
Script to generate the four PDFs from Fig. 4.

"3a_run_simulations_poacher_movement.r"
Script to run the simulations and generate the results
that are used to produce Fig. 6. Due to high
computational load, this script is written to be used
on a High Performance Cluster that runs SLURM as a job
scheduler. The function written inside this R script
can also be used locally on a smaller subset of
parameters.

"3b_visualize_simulations_poacher_movement.r"
Script to generate the validation plots that are used
in Fig. 6. The output of the previous script is used
as input for this script.

"4a_run_simulations_rhino_movement.r"
Script to run the simulations and generate the results
that are used to produce Fig. 7. Due to high
computational load, this script is written to be used
on a High Performance Cluster that runs SLURM as a job
scheduler. The function written inside this R script
can also be used locally on a smaller subset of
parameters.

"4b_visualize_simulations_rhino_movement.r"
Script to generate the validation plots that are used
in Fig. 7. The output of the previous script is used
as input for this script.

Note that Fig. 4 is not generated by scripts.

-----

The "plots" folder contains PDF files generated by the
scripts, with the filenames corresponding to the
figure numbers from the manuscript.

-----

The "simulations" folder contains the output R data
generated by the two HPC scripts: 3a and 4a. These
data are then used as input for scripts 3b and 4b.