hc_plot_hdi: Plot HDI

Description Usage Arguments Examples

View source: R/reporting.R

Description

Plot distribution of success rates and HDI estimates for a given subset from a data.frame.

Usage

1
hc_plot_hdi(happy_hdi, title = NULL)

Arguments

happy_hdi

A data.frame obtained with estimate_hdi().

title

Title. Default: NULL.

Examples

1
2
3
4
5
6
7
## Not run: 
  e <- estimate_hdi(df = d, successes_col = successes_col, totals_col = totals_col, 
                    group_cols = group_cols, aggregate_only = FALSE, sample_size = 1000)
  h <- e %>% dplyr::filter(Subset == "high.at")
  hc_plot_hdi(h, title = "PCR-Free vs Nano high.at")

## End(Not run)

Illumina/happyCompare documentation built on July 12, 2019, 7:57 p.m.