Code for AoB paper: "Post-fire seed dispersal of a wind-dispersed shrub declined with distance to seed source, yet had high levels of unexplained variation"
This repository includes code needed to replicate the models in the paper, including the landscape models and the latent WALD model.
Full data with metadata and methodology is available at the Forest Service Research Data Archive here: https://www.fs.usda.gov/rds/archive/Catalog/RDS-2021-0073. The version of the data (SeedTrapData_STAN.Rdata) included in this repository is organized to run in STAN models and is stripped of associated factor names. It is also aggregated so that seed counts are summed across two height bins on a trap and the associated height is given as the mid-point.
This repository includes:
SeedTrapData_STAN.Rdata: Seed trap data formatted as a list to run in a STAN model.
LandscapeBRMSmodels_Run.R: Script to run landscape brms regressions.
Transect_LatentWALD_SimModel.stan: Latent WALD 2dt model STAN code
ModelLatentWALD_Run.R: Code to run the STAN model via rstan and function to use the posteriors to simulate new data.
US National Science Foundation and Idaho EPSCoR: OIA-1757324
Data and Resources
English (United States)
|Public Access Level