This repository contains code used by the Wyoming Game & Fish Department to model the effects of moon illumination on observed lek attendance in Greater Sage-grouse.
The main scripts used in this analysis (to be run in order) are:
.
├── 00 sampled.R
├── 01 full model.R
├── 02 inference.R
├── MoonPhaseLekAttendanceWGFD.qmd
Supporting functions are within the R
folder.
R
├── brms.R
├── db.R
├── deps.R
├── moon_illumination.R
├── prep_data.R
├── save_model.R
├── theme.R
├── time.R
└── utm_to_latlon.R
Upon forking/cloning this repo and opening R inside the directory, please install all package dependencies with:
deps()