addPathogen: Adding a pathogen to the model

Description Usage Arguments Value

View source: R/methodDefinitions.R

Description

Adding a pathogen to the model

Usage

1
2
addPathogen(modelObject, mutationRate, crossProtection, probaInfection,
  latencyPeriod, infectiousPeriod, recoveryPeriod, name = NULL)

Arguments

modelObject

the scheduler object for which the populations has to be added

mutationRate

Mutation rate of the pathogen for each population

crossProtection

Factor for intra-specific pathogen cross protection

latencyPeriod

Latency period of the pathogen for each population

infectiousPeriod

Infectious period of the pathogen for each population

recoveryPeriod

Immunity period of the pathogen for each population

name

(optional) Name of the pathogen

probInfection

Probability of infection upon contact for each population

Value

an object of class scheduler for update purpose


rocheben/ibmR documentation built on May 5, 2019, 1:39 p.m.