Skip to content
Data and R scripts accompanying Robinson et al. Habitat and fishing control grazing potential on coral reefs. (2019, Functional Ecology)
R
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
data
results
scripts
.gitignore
LICENSE
README.md
R_session_info.txt
robinson_reproducible.Rmd
supp-material.pdf

README.md

grazing-grads

This repository contains data and R scripts accompanying Robinson et al. Habitat and fishing control grazing potential on coral reefs. (2019, Functional Ecology)

https://besjournals.onlinelibrary.wiley.com/doi/10.1111/1365-2435.13457

DOI

R packages used to tidy, analyse and visualize data are given in R_session_info.

The manuscript can be reproduced by knitting robinson_reproducible.Rmd, which regenerates model predictions and embeds figures and text into a PDF.

Folders contain:

data

scripts

  • 01_bite_rate_models.R fits Bayesian models to feeding observation datasets to estimate grazing rates for croppers and scrapers
  • 02_convert_biom_to_bites.R converts cropper and scraper biomass to grazing rates
  • 03_MMI_tavlue_analysis.R runs multi-model inference to examine drivers of grazing rates for croppers and scrapers
  • MMI_tvalue_func.R is mmi_tvalue, a function for AIC-based multimodel inference, which standardizes t-values and model predictions across a top-model set derived from a global model
  • scaling_function.R is scaler, a function to scale and centre covariates before statistical modelling
You can’t perform that action at this time.