Learn R Programming

EpiNow2 (version 1.3.4)

extract_CrIs: Extract Credible Intervals Present

Description

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

Usage

extract_CrIs(summarised)

Value

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

Arguments

summarised

A data frame as processed by calc_CrIs

Examples

Run this code
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)

Run the code above in your browser using DataLab