Here is Lesson 2 from my full course on the Basics of R for Ecologists. See the full course here:https://www.rforecology.com