get_other_count: Get host count from table

Description Usage Arguments Value

View source: R/nosoi_utilityFunctions.R

Description

Returns the host count for a table and a state

Usage

1
get_other_count(table_hosts, name_cur, active_hosts, name_count, cur)

Arguments

table_hosts

a table.hosts

name_cur

name of the cell, one of "current.in" or "current.cell.raster"

active_hosts

a boolean vector of active hosts

name_count

name of the count, one of "host.count.A" or "host.count.B"

cur

a data.table with the state

Value

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


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