Skip to content

This repository provides the example data and code to reproduce Box 2 in the manuscript 'The Equilibrium Conundrum', which provides a method to determine whether a system is at equilibrium or not.

License

Notifications You must be signed in to change notification settings

mabarbour/Equilibrium_conundrum_code

Repository files navigation

Equilibrium_conundrum_code

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.

DOI

Repository contents

  • 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 .Rmd file.

  • 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.

R packages and their versions used (R version 4.4.1)

  • tidyverse 2.0.0
  • cowplot 1.1.3
  • brms 2.22.0
  • tidybayes 3.0.6
  • marginaleffects 0.23.0

About

This repository provides the example data and code to reproduce Box 2 in the manuscript 'The Equilibrium Conundrum', which provides a method to determine whether a system is at equilibrium or not.

Resources

License

Stars

Watchers

Forks

Packages

No packages published