check_generation_time: Validate probability distribution for using as generation...

View source: R/checks.R

check_generation_timeR Documentation

Validate probability distribution for using as generation time

Description

[Stable] does all the checks incheck_stan_delay() and additionally makes sure that if dist is nonparametric, its first element is zero.

Usage

check_generation_time(dist)

Arguments

dist

A dist_spec object.'

Value

Called for its side effects.


epiforecasts/EpiNow2 documentation built on Dec. 10, 2024, 5:32 p.m.