This repository contains the code and data for recreating the experiments in:
L.M. Hopkins, T.A. Hallman, J. Kilbride, W.D. Robinson, R.A. Hutchinson (2022) Landscape Ecology
https://doi.org/10.1007/s10980-022-01406-y
-
Download the all of the data and save it in your working directory.
-
Generate SDMs (RF models) and thier predictions.
Runrun_model.R
Create a new "results" folder in your working directory. Withing the "results" folder, create a folder for each model and within each model, create folders for each species. The path should look like:<working_directory>\\<model>\\<species>
. Moeve the .RData test table(s) created by run_model.R to the associated folder(s). -
Evaluate models by comparing AUCs across species and spectral predictor sets.
Runevaluation.R
-
Identifiy which spectral predictor sets performed best across the entire set of species and compare all pairs of spectral predictor sets with Nemenyi post-hoc analysis.
Runstatistical_analysis.R
-
(Optional) Generate plots.
Runpublication_plots.R