iniTableState: Generates initial movement table to start the simulation...

View source: R/nosoi_tablesManagment.R

iniTableStateR Documentation

Generates initial movement table to start the simulation (internal function)

Description

This function creates the initial table for the host, with 5+number of parameters of the transmission probability function parameters, and init.individuals row(s).

Usage

iniTableState(
  init.individuals,
  init.structure,
  prefix.host,
  current.environmental.value = NULL,
  current.cell.number.raster = NA
)

Arguments

init.individuals

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

init.structure

State of the initially infected individuals.

prefix.host

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

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


slequime/nosoi documentation built on Aug. 10, 2024, 9:13 p.m.