check_quantiles: Check required quantiles are present

View source: R/check.R

check_quantilesR Documentation

Check required quantiles are present

Description

Check required quantiles are present

Usage

check_quantiles(posterior, req_probs = c(0.5, 0.95, 0.2, 0.8))

Arguments

posterior

A data.table that will be coerce_dt()d in place; must contain quantiles identified using the q5 naming scheme.

req_probs

A numeric vector of required probabilities. Default: c(0.5, 0.95, 0.2, 0.8).

See Also

Functions used for checking inputs check_calendar_timestep(), check_group(), check_group_date_unique(), check_max_delay(), check_module(), check_modules_compatible(), check_numeric_timestep(), check_observation_indicator(), check_timestep(), check_timestep_by_date(), check_timestep_by_group()


seabbs/epinowcast documentation built on July 8, 2024, 1:45 a.m.