plot_exposure: makes multi panel plot of exposure to bite (one panel per...

Description Usage Arguments Value Examples

View source: R/plot_functions.R

Description

makes multi panel plot of exposure to bite (one panel per entomological survey for one village and one age classes)

Usage

1
plot_exposure(Exposure, vil, age = "pop")

Arguments

Exposure

a dataframe obtained by the use of function 'exposure_dat'

vil

one village code (string) from Exposure$Vil

age

one age classes (string) from Exposure$Age

Value

a ggplot object

Examples

1
2
3
4
5
6
Count_HB <- HB_to_counts(ODK_HB_R)
Count_HB$Enq <- 3
v_hours <- c(15:23,0:11)
Data_Entomo <- Entomo_PHP_to_counts(Entomo_PHP, v_hours)
Exposure <- exposure_dat(Count_HB, Data_Entomo, p = 0.92)
plot_exposure(Exposure, vil= "DOG", age = "pop")

Nmoiroux/biteExp documentation built on March 13, 2020, 10:39 p.m.