This repository provides the example data and code to reproduce Box 2 in the manuscript 'The Equilibrium Conundrum', which provides a statistical method to determine whether a system is at equilibrium or not.
-
Box_test_equilibrium.Rmd - Contains the code and text used to generate Box 2 in the manuscript 'The equilibrium conundrum'.
-
Box_test_equilibrium.pdf - PDF output of the same
.Rmdfile. -
beetle_test_df.csv - test dataset of temporal change in abundance for 3 replicate beetle populations. Data associated with a forthcoming manuscript (Weiss et al. In revision). Relevant columns for this analysis include
Week(week beetle abundances were sampled),Abundance(number of adult beetles sampled),ID(unique identifier for each beetle population). -
equilibrium-test.rds - Saved version of Bayesian regression model to avoid refitting the model everytime the code is run.
-
.gitignore - Default version created when generating the R project.
-
LICENSE - MIT softward license for the repository.
-
Equilibrium_conundrum.Rproj - R project file for organizing the code in Rstudio.
-
README.md - Summary of GitHub repository.
- tidyverse 2.0.0
- cowplot 1.1.3
- brms 2.22.0
- tidybayes 3.0.6
- marginaleffects 0.23.0