adapt.prior.post.plot.code- Create Prior vs. Posterior Plot for Adaptive Model
Usage
adapt.prior.post.plot.code(
trdata,
optima.prior,
beta.prior,
post,
optima,
beta
)
Arguments
- trdata
Phylogeny and data in treeplyr format
- optima.prior
Prior mean and scale parameter for optima
- beta.prior
Prior mean and scale parameter for half-life
- post
Posterior distribution in stanfit class
- optima
True optima
- beta
True beta
Value
Plots in ggplot2 format