
Generate Posterior Predictions of Coral Colony Area
posterior_coral_predict.RdThis function uses a fitted brms model to generate posterior predictions of colony size (width),
transforms width to area, and returns cumulative area predictions per species in long format.
Usage
posterior_coral_predict(
brms,
ndraws = 10000,
seed = NULL,
newdata,
correct_species = FALSE
)