plotInfectionRate {vectorsurvR}R Documentation

Plot Infection Rate

Description

plotInfectionRate() plots the output returned from 'getInfectionRate()' with confidence intervals using ggplot

Usage

plotInfectionRate(InfRtOutput, year)

Arguments

InfRtOutput

Output from returned 'getInfectionRate()'

year

Year to plot infection rate on

Value

ggplot object

Examples

IR = getInfectionRate(sample_pools,
                      interval = "Week",
                      target_disease = "WNV",
                      pt_estimate = "mle", species_list = c("Cx pipiens"),
                      trap_list = c("CO2","GRVD") )
plotInfectionRate(InfRtOutput = IR, year = 2017)

[Package vectorsurvR version 0.1.0 Index]