Description Usage Arguments Value Examples
View source: R/plot_functions.R
makes multi panel plot of exposure to bite (one panel per entomological survey for one village and one age classes)
1 | plot_exposure(Exposure, vil, age = "pop")
|
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 |
a ggplot object
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")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.