Supplement 1. R script and resulting output for estimating the potential surface described in Eq. 3 with data on elk during ATV treatment days.
Datasets usually provide raw data for analysis. This raw data often comes in spreadsheet form, but can be any collection of data, on which analysis can be performed.
Rcode.txt (MD5: 3a4be4656cbeaf094a3f6d4e6dfebba6)
The R-code included shows how the linear mixed model lme may be used to estimate the coefficients in Eq. 8 in the main text necessary for evaluating the potential surface in Eq. 7 with results given in Figs. 5 and 6.