FromXToExposed: Network Modules Based majorly in...

Description Usage Arguments Details

View source: R/SEIQHRFNetModules.R

Description

In this work we are going to redefine practically all base modules from EpiModel Transition from susceptible to exposed upon contact with transmitting individuals

Usage

1
FromXToExposed(dat, at, finalProb, contact_with = "i")

Arguments

dat

Native EpiModel object

at

simulation timestep

finalProb

Probability of transition between the susceptible and the infected state upon contact with individuals from the state contact_with, can be a vector of lenght equal to the number of simulation timesteps.

contact_with

State of the individuals that the susceptible come into contact with

Details

Transmitting individuals are exposed, infected and quarantined. Whether individuals that come upon contact with transmitting individuals is drawn from a Bernoulli distribution with P(transmitted) = finalProb. To see how finalProb is calculate please see the documentation for the exposure function This model assumes an exposure period before an infection period for any invidividual exposed to the virus.

This script replaces infection.net check ?infection.net for specification of what the base module does

This function is called in the exposure function


AIforGoodSimulator/network-model-R-package documentation built on Oct. 3, 2020, 10:08 a.m.