plot_posterior_fixed {makemyprior} | R Documentation |
Function for plotting the posterior distributions of the coefficients of the fixed effects
plot_posterior_fixed(obj)
obj |
An object from |
A ggplot with the posterior distributions. See also makemyprior_plotting.
if (interactive() && requireNamespace("rstan")){
ex_prior <- makemyprior_example_model()
res_stan <- inference_stan(ex_prior, iter = 100)
# Note: For reliable results, increase the number of iterations (e.g., 'iter = 2000')
plot_posterior_fixed(res_stan)
}