View source: R/plot_sensitivity.R
plot_sensitivity | R Documentation |
To perform a rudimentary sensitivity analysis, plot the posterior distributions of multiple BRMA models and compare them visually.
plot_sensitivity(..., parameters = NULL, model_names = NULL)
... |
Objects of class |
parameters |
Optional character vector with the names of
parameters that exist in the models in |
model_names |
Optional character vector with the names used
to label the models in |
An object of class ggplot
plot_sensitivity(samples = list(
data.frame(Parameter = "b",
Value = rnorm(10),
Model = "M1"),
data.frame(Parameter = "b",
Value = rnorm(10, mean = 2),
Model = "M2")),
parameters = "b")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.