Zooplankton depth analysis code in R