working directory
Final project; all functions in one Rmd file.