get_other_count: Get host count from table

View source: R/nosoi_utilityFunctions.R

get_other_countR Documentation

Get host count from table

Description

Returns the host count for a table and a state

Usage

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)


slequime/nosoi documentation built on Aug. 10, 2024, 9:13 p.m.