addPopulation: Adding a population to the model

Description Usage Arguments Value

View source: R/methodDefinitions.R

Description

Adding a population to the model

Usage

1
2
addPopulation(modelObject, nbIndividuals, evtCtctRate, intraSpecCtctRate,
  lifespan, name = NULL)

Arguments

modelObject

the scheduler object for which the populations has to be added

nbIndividuals

Number of individuals of this population that has to be created

evtCtctRate

Contact rate with the environment

intraSpecCtctRate

Intra-specific contact rate within this population

lifespan

Average lifespan of indivuduals within this population

name

(optional) Name of the population

Value

an object of class scheduler for update purpose


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