Description Usage Arguments Value Examples
View source: R/plot_ppmc_ridges.R
Plot PPMC parameter distributions
1 2 3 4 5 6 7 8 9 10 11 |
data |
numeric vector or dataframe |
column |
if data is a datframe specify a single column that should a plot be returned for |
method |
character; 'Mueller94' or 'SJexpanded' |
ci_width |
double |
density_ci |
boolean; should CI for density should be bootstrapped? |
smooth_density_ci |
boolean; should CI be smoothed? |
color |
color |
n |
integer, number of points of desity estimation; can be smaller for Mueller94 (start with 128) |
clean_data |
boolean; should infinite values and NaNs get removed? |
ggplot2 object
1 2 3 4 5 6 7 | ## 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) %>% select(or_dif)
birtsms::plot_ppmc_distribution()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.