View source: R/plot_parameters_distributions.R
plot_parameters_distributions | R Documentation |
Plots the distributions of the selected individual parameters.
plot_parameters_distributions(
run,
parameters = NULL,
baseline_only = TRUE,
type = "histogram",
histogram_bins = 30L,
histogram_empirical_density = FALSE,
histogram_reference_distribution = list(fun = dnorm, args = list(mean = 0, sd = 1)),
qq_reference_distribution = list(fun = qnorm, args = list(mean = 0, sd = 1)),
boxplot_facets = TRUE,
boxplot_drop_unused = FALSE,
facet_scales = "free",
overlay_splits = TRUE,
auto_legend = TRUE
)
run |
|
parameters |
character vector of parameters names. Default is |
baseline_only |
logical. Consider only the baseline (= first) values of the subjects. Default is
|
type |
character. Type of distribution representation. One of
|
histogram_bins |
integer. If |
boxplot_facets |
logical. If |
boxplot_drop_unused |
logical. If |
facet_scales |
character. |
overlay_splits |
logical. If splitting is applied, |
auto_legend |
logical. When |
A ggplot2 object.
EXAMPLERUN %>% plot_parameters_distributions()
EXAMPLERUN %>% plot_parameters_distributions(type = "density")
EXAMPLERUN %>% plot_parameters_distributions(type = "boxplot")
EXAMPLERUN %>% plot_parameters_distributions(type = "qq")
EXAMPLERUN %>% plot_parameters_distributions(parameters = "eta")
EXAMPLERUN %>%
plot_parameters_distributions(parameters = "ETCL",
histogram_empirical_density = TRUE,
histogram_reference_distribution = list(fun = dnorm,
args = list(mean = 0, sd = 1)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.