Create a plot of the prior & posterior density distributions of modeled parameters from brmsfit model
prior_posterior_densities_plot.Rd
Plot of the prior and posterior density distributions of each parameter from brmsfit model. The prior and posterior density distributions will be displayed on the same plot and color labeled.
Usage
prior_posterior_densities_plot(
model,
predictors_col_name = "_Intercept",
half_max_label = "ec50",
title_label = "Prior Posterior Density\n Plots"
)
Arguments
- model
brmsfit model.
- predictors_col_name
string expression for predictors column in the input data.frame (default = "_Intercept"). Predictors are the perturbations tested during the experiment (i.e. Drug, Temperature, etc.).
- half_max_label
string of the label for the half maximal that fits the type of experiment that was done (i.e. ec50, ic50, ed50, id50, ld50, etc.).
- title_label
string of the plot title. (default = "Prior Posterior Density Plots")