calculate.MLE.v2: Calculate MLE for a specified subset of the data using R

Description Usage Arguments Value

View source: R/rf1_main.R

Description

Modified from wnv_hlpr.R

Usage

1
calculate.MLE.v2(md, temporal.resolution = "annual")

Arguments

md

Data on mosquito pools tested for the disease. Must be formatted with 4 columns: location (the spatial unit, e.g. county), col_date: the date the mosquitoes were tested, wnv_result: whether or not the pool was positive, pool_size: the number of mosquitoes tested in the pool. A fifth column species is optional but is not used by the code

temporal.resolution

Must be set to 'annual' for now. Ideally support for finer-scale resolution will be added.

Value

Mosquito data compiled to give estimated mosquito infection rates by spatial unit and temporal resolution


akeyel/rf1 documentation built on Dec. 28, 2020, 4:48 a.m.