extract_CrIs: Extract Credible Intervals Present

extract_CrIsR Documentation

Extract Credible Intervals Present

Description

[Stable] Helper function to extract the credible intervals present in a ⁠<data.frame>⁠.

Usage

extract_CrIs(summarised)

Arguments

summarised

A ⁠<data.frame>⁠ as processed by calc_CrIs

Value

A numeric vector of credible intervals detected in the ⁠<data.frame>⁠.

Examples

samples <- data.frame(value = 1:10, type = "car")
summarised <- calc_CrIs(samples,
  summarise_by = "type",
  CrIs = c(seq(0.05, 0.95, 0.05))
)
extract_CrIs(summarised)

epiforecasts/EpiNow2 documentation built on May 13, 2024, 3:11 a.m.