I have a bayesian model made using brms:
height_nb <- brms::brm(height_mm ~ dist + altitude + (1|trans.pair), seed = 010123,
data = dat, family = negbinomial(link = "log", link_shape = "log"),
# fitting information
chains = 3, iter = 5000, warmup = 1000, cores = 4)
A plot can be made using plot(conditional_effects(phyemp_height_nb))[[1]]
that shows the effect of dist
on height_mm
.
How can I plot this in ggplot2 so I can edit aspects of the plot (background, axes text, etc.)?