Skip to content

Latest commit

 

History

History
30 lines (17 loc) · 1.07 KB

README.md

File metadata and controls

30 lines (17 loc) · 1.07 KB

JRN_grass_climate_correlation

Code and data for project investigating cycles of high and low grass cover on the Jornada for the past 100 years.

Folders

data - Contains raw data files and R scripts for handling data

Figures - Contains final figures for paper

other data sets - Contains data and scripts analyzing data from other locations

supplement - Analyses for supplement of paper

Workflow

Prepare data

Run scripts in 'data' folder to prepare quadrat grass data and climate variable data for analyses.

  • data/process_raw_plant_data.R
  • data/get_climate_data.R

Main model scripts

Principal components analysis of short-term climate variables is done in principal_components.R.

The main models correlating grass with climate variables are run in grass_pdo_model_selection_ARIMA.Rmd. This script depends on intermediate csv files created in the first step. Creates results_aic_table_arima.csv.

Additional scripts

  • plot_grass_func_groups_timeseries.R creates plot of grass functional groups timeseries. Fig. 2 in paper.