analysis.RTheRscript for generating figures and tables. For Figure 1, to output the inset ("blowup") of early stages, un-comment the viewport code and run the relevant code in console directly.clutchData.csvDataset on Plethodon cinereus clutch encounters in MassachusettsclimateData.csvClimate dataenvironmentalAnalysis.RTheRscript for assessing the effects of precipitation and relative humidity on clutch size.staging_at_15C.csvStaging data for lab-reared clutches of P. cinereus
Rpackages:tidyverselubridateggplot2gridgridExtrabroom
Each time you want to execute an analysis:
- Clone the repository, e.g.,
git clone https://github.com/zrlewis/clutches.git - Navigate to the root of the repository, e.g.,
cd clutches. - Run the code, e.g., launch
Rand runsource("analysis.R"). - The figures and tables will be generated in your repository.
- The precipitation and relative humidity analyses can be replicated by running
source("environmentalAnalysis.R")inR.