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.


EpiNow2 documentation built on Oct. 31, 2024, 5:09 p.m.