Creates a plot of the posterior distribution of the parameter t0
from a bipod
object. Optionally, the prior distribution can be included in the plot.
Usage
plot_t0_posterior(x, add_prior = F)
Arguments
- x
A bipod
object that contains a 'fit' field.
- add_prior
Logical value indicating whether to plot the prior distribution along with the posterior distribution. (default is FALSE)
Value
A ggplot2
object containing the posterior density plot of t0
, and optionally the prior density plot.