LTER Synthesis working group -- Interannual variability and long term change in pelagic community structure across a latitudinal gradient
- Russell R Hopcroft, Professor, University of Alaska Fairbanks, rrhopcroft@alaska.edu
- Mark Ohman, Professor, Scripps Institution of Oceanography
- Heidi Sosik, Senior Scientist, Woods Hole Oceanographic Institution
- Oscar Schofield, Professor, Rutgers University
- All code should include sufficient annotation and documentation so that other users can understand and run the scripts
- Use RStudio projects to manage working directory
- Write your scripts such that other users can run the code without modifications. Keep file paths and other variables that might need to be changed at the beginning of the script, just after attaching the necessary libraries
- Check out the Scientific Computing Team’s best practice tips for storing file paths
- Include an attribution header to your scripts or Rmarkdown documents
Example:
## ---------------------------
##
## Script name:
##
## Purpose of script:
##
## Author:
##
## Email:
##
## ---------------------------
library(tidyverse)
NCEAS Scientific Computing Support Team page link