nosoi (version 1.0.0)

updateHostCount: Summarise position of hosts in a discrete or discretized (raster) space

Description

Returns a table of the number of hosts per discrete or discretized (raster cells) states.

Usage

updateHostCount(res, res.B = NULL, type)

Arguments

res

an object of class nosoiSimOne.

Value

data.table containing state.ID (col1) and count (col2)