posted on 2016-08-10, 12:29authored byMireia Bartrons, Árni Einarsson, Regina L. G. Nobre, Cristina M. Herren, Kyle C. Webert, Sandra Brucet, Sólveig R. Ólafsdóttir, Anthony R. Ives
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.