download the zip file using the "Download ZIP" button at the bottom RIGHT of the page
open the swim4.R
, wade4.R
, and sailing2.R
files in R studio
make sure the working directory is set right by:
-click the "Session" menu bar on a Mac or "Tools" on a PC
- click "set working directory" on a Mac or "change working dir" on a PC
-click "to source file location"
Run these two lines in R studio before you run the other files:
install.packages("fitdistrplus")
install.packages("mc2d")