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,
species_separate = FALSE
)
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)' |
species_separate |
Should the pools comparison be split by species of each pool. Default is FALSE |
Value
Frequency table of for pools data
Examples
getPoolsComparisionTable(sample_pools,
interval = "Biweek",
target_disease = "WNV",
species_separate = TRUE)
[Package vectorsurvR version 0.2.0 Index]