Plot Posterior Density for a Specific Parameter
plot_posterior.Rd
Creates a density plot of the posterior distribution for a specified parameter from a fitted model within a bipod
object.
Arguments
- x
A
bipod
object of classbipod
. Must contain a 'fit' field and should have been fitted with model selection.- x_fit
The fit object within
x
that contains the desired parameter.- par_name
The name of the parameter whose posterior distribution is to be plotted.
- color
A character string specifying the color to use for the density plot. (default is 'black')