Screencast from my class at Michigan State University (ZOL851) and McMaster University (Bio720) to help introduce students to programming in R.
This screencast covers:
This introduces the often helpful apply family of functions in R.
apply()
sapply()
tapply()
by()
replicate()
examples of using the apply family of functions for simple analyses and simulations.
Script is found at
https://github.com/DworkinLab/Bio720/blob/Bio720_2016/Rscripts/applyLikeFunctionsR.R