
Predict reproductive probability using posterior predict (bernoulli model)
predict_repro_prob.RdPredict reproductive probability using posterior predict (bernoulli model)
Examples
if (FALSE) { # \dontrun{
newdata <- expand.grid(species = levels(coralsize$species), width = seq(0,50,5))
newdata$reproductive_probability <- predict_repro_prob(newdata, posterior_coeffs_reproductive_probability, draw_id = 20)
} # }