knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of this package is to reproduce the paper "Generalism drives abundance: a computational causal discovery approach" by Chuliang Song, Benno I. Simmons, Marie-Josée Fortin, and Andrew Gonzalez.
You can install the package from GitHub with:
# install.packages("devtools") devtools::install_github("clsong/ReproduceChickenEgg")
The main figures can be reproduced simply by running plot_figure_Number. For example, figure S9 can be reproduced as
library(ReproduceChickenEgg) plot_figure_S9()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.