nosoi (version 1.0.0)

iniTable: Generates initial table to start the simulation (internal function)

Description

This function creates the initial table for the host.

Usage

iniTable(init.individuals, init.structure, prefix.host, ParamHost,
  current.environmental.value = NULL,
  current.cell.number.raster = NULL, current.count.A = integer(0),
  current.count.B = integer(0))

Arguments

init.individuals

number of initially infected individuals (i.e. number of lines at time 0).

init.structure

State (or coordinates) of the initially infected individuals.

prefix.host

character(s) to be used as a prefix for the hosts identification number.

ParamHost

list of individual based parameters.

current.environmental.value

current value of the environmental variable provided by the raster according to its position in init.structure.

current.cell.number.raster

unique number of the raster cell where the host is

current.count.A

current count of host A

current.count.B

current count of host B