getPoolsComparisionTable {vectorsurvR} | R Documentation |
Get Pools Frequency Table
Description
'getPoolsComparisionTable()' produces a frequency table for positive, negative, and pending pools counts by year and species. The more years present in the data, the larger the table.
Usage
getPoolsComparisionTable(pools, interval, target_disease, separate_by = NULL)
Arguments
pools |
Pools data retrieved from 'getPools()' |
interval |
Calculation interval for comparison table, accepts “collection_date”,“Biweek”,“Week”, and “Month |
target_disease |
The disease to calculate infection rate for–i.e. “WNV”. Disease acronyms are the accepted input. To see a list of disease acronyms, run 'unique(pools$target_acronym)' |
separate_by |
Separate/group the calculation by 'trap','species' or 'agency'. Default NULL does not separate. |
Value
Frequency table of for pools data
Examples
getPoolsComparisionTable(sample_pools,
interval = "Biweek",
target_disease = "WNV",
separate_by = "species")
[Package vectorsurvR version 1.5.1 Index]