simulate_NHPP_next_event: Simulation of the time of the next event of a non-homogeneous...

Description Usage Arguments Value Examples

View source: R/RcppExports.R

Description

simulate_NHPP_next_event computes the next-event time given the current state at t.

Usage

1
2
simulate_NHPP_next_event(t_now, t_intervention, sum_beta, epsilon, omega,
  b1, t_max)

Arguments

t_now, t_intervention, t_max

current time, the introduction of the control and the final observation time (usually fixed) respectively espressed in days.

sum_beta, epsilon

total risk from infected premisses and the primary infection rate respectively.

omega,

introduses the effect of seasonality in the infection rate.

Value

It returns the next-event time in the non-homogeneous poisson process.

Examples

1
simulate_NHPP_next_event(2,50,0.08,0.2,0.3,300)

holaanna/contactsimulator documentation built on Dec. 2, 2019, 2:39 a.m.