This function creates a new line for the table,
The lines are to be bounded with rbindlist
.
newLineState(
hosts.ID,
state.pres,
time.is,
current.environmental.value = NA,
current.cell.number.raster = NA
)
unique ID for the new host
state in which host currently is
time in the simulation, when the infection takes place
current value of environmental variable (from raster) according to coordinates in current.in.
unique number of the raster cell where the host is
a list with the new line to add.