Supplement 1. R code and scripts for computing multilevel models with spatial autocorrelation for zooplankton spatial distribution data.
Zooplankton_Myvatn_Code.r (MD5: 77e338006e7b29cb5a5e4d08df920736)
Zooplankton_Myvatn_Code.r contains R code to create multilevel models with spatial autocorrelation, analyze the significance of random effects, and compare the best multilevel model for zooplankton spatial distribution data. Comment lines specify the inputs to the function and the outputs from the function. The code may be called from an R program as an external function, or it may be placed in-line within a R program.