func_time_beta: Functional form of the intensity (beta) as a function of t.

Description Usage Arguments Details Value References Examples

View source: R/RcppExports.R

Description

func_time_beta returns the value of the intensity as a function of t.

Usage

1
func_time_beta(t, t_intervention, sum_beta, epsilon, omega, beta_1)

Arguments

t, t_intervention

Time of the contact and the introduction of the control 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.

Details

The particular case of transmission rate used here is given by

β(t)= n(t)β + ε)cos^2(ω t) if t<t_interventioin

where n(t) is the size of potential sources.

Value

It returns the rate of infection in the non-homogeneous poisson process.

References

\insertRef

KR08contactsimulator

Examples

1
func_time_beta(20,50,0.08,0.2,0.3)

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