View source: R/nosoi_utilityFunctions.R
get_other_count | R Documentation |
Returns the host count for a table and a state
get_other_count(table_hosts, name_cur, active_hosts, name_count, cur)
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 |
data.table containing state.ID (col1) and count (col2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.