simulate_iota: Simulate infection periods

View source: R/SEM-simulate.R

simulate_iotaR Documentation

Simulate infection periods

Description

Simulate infection periods

Usage

simulate_iota(n, iota_dist, gamma, shape, lambda)

Arguments

n

number of infection periods to simulate

iota_dist

distribution of infection periods

gamma

parameter of the exponential distribution

shape

parameter of the weibull distribution

lambda

parameter of the weibull distribution

Value

vector of random infectious durations


rmorsomme/PDSIR documentation built on April 27, 2023, 2:56 p.m.