Description Usage Arguments Value Examples
Plot multiple PPMC parameter distributions Deprecated!
1 2 3 4 5 6 7 8 9 10 11 12 |
data |
tibble |
parameter |
column name that holds numeric values to plot density ridges for |
group |
column name to optionally specify that multiple density ridges should be plotted regarding the grouping value |
rope |
boolean; should the rope be plotted as a gray area? |
hdi |
boolean; should HDI or equitailed region be plotted |
ci_width |
double |
color |
color; sets color of ridges |
range |
double; c(min, max) used for setting xlim in coord_cartesian() |
custom_ci |
double vector to pass the ci limits manually (e.g. when ) |
... |
arguments passed to ggridges::stat_density_ridges() |
ggplot2 object
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
or_data <- get_or(fit, n_samples = 500)
or_data %>% select(-or_rep_samples) %>% filter(item1 == 1, item2 == 2) %>%
birtsms::unnest_keep_attr(or_dif_samples) %>%
birtsms::plot_ppmc_distribution(or_dif)
or_data %>% select(-or_rep_samples) %>% filter(item1 == 1, item2 %in% 2:4) %>%
birtsms::unnest_keep_attr(or_dif_samples) %>%
birtsms::plot_ppmc_distribution(or_dif, group = item2, rope = TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.