################Section 2######################### # Running a mixed model in R # Four Step Process to build a mixed model in R # 1) A priori model bulding and data exploration#### # i) Map out the model based on a priori knowledge # We know that we want to build a model that evaluates the relationship # bewteen trophic position and length while accounting for lake and species variation # Trophic Position ~ Length + Species + Lake # ii)Housekeeping and data exploration # Ensure that the structure of your data is correct str(data)