Learn R Programming

EpiNow2 (version 1.3.2)

extract_CrIs: Extract Credible Intervals Present

Description

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

Run this code
# NOT RUN {
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