generatePopulation: Population initiliasation

View source: R/slsirSimu.R

generatePopulationR Documentation

Population initiliasation

Description

generate a population

Usage

generatePopulation(
  N,
  agedistrib = NULL,
  behavior = NULL,
  xsize = 100,
  ysize = 100,
  recovery = NULL,
  speed = NULL
)

Arguments

N

number of agents

agedistrib

a distribution defining the percentage of population represented in different age class

behavior

a distribution of behaviors

xsize

spatial limits (to keep in the model?)

ysize

spatial limits

recovery

a distribution recovery time


simoncarrignon/slsir documentation built on Feb. 11, 2024, 3:07 p.m.