newLineState: Creates a new line to be added to the movement table when...

Description Usage Arguments Value

View source: R/nosoi_tablesManagment.R

Description

This function creates a new line for the table, The lines are to be bounded with rbindlist.

Usage

1
2
3
4
5
6
7
newLineState(
  hosts.ID,
  state.pres,
  time.is,
  current.environmental.value = NA,
  current.cell.number.raster = NA
)

Arguments

hosts.ID

unique ID for the new host

state.pres

state in which host currently is

time.is

time in the simulation, when the infection takes place

current.environmental.value

current value of environmental variable (from raster) according to coordinates in current.in.

current.cell.number.raster

unique number of the raster cell where the host is

Value

a list with the new line to add.


nosoi documentation built on Aug. 17, 2021, 5:09 p.m.