newLine {nosoi} | R Documentation |
Creates a new line to be added to the table when new host is infected (internal function)
Description
This function creates a new line for the table.
The lines are to be bounded with rbindlist
.
Usage
newLine(
hosts.ID,
infected.by,
infected.in,
time.is,
ParamHost,
current.environmental.value = NULL,
current.cell.number.raster = NULL,
current.count.A = integer(0),
current.count.B = integer(0)
)
Arguments
hosts.ID |
unique ID for the new host |
infected.by |
unique ID of host that transmits to the new one |
infected.in |
state in which the host was infected |
time.is |
time in the simulation, when the infection takes place |
ParamHost |
list of individual based parameters. |
current.environmental.value |
current environmental value |
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 |
Value
a list with the new line to add.
[Package nosoi version 1.1.2 Index]