ExpBites is an R package to compute mosquito biting exposure based on hourly human and mosquito behavior. It is designed for entomological modeling and malaria vector control analysis, particularly in the context of insecticide-treated net (ITN) usage.
You can install the development version of ExpBites from GitHub:
# install.packages("devtools")
devtools::install_github("Nmoiroux/ExpBites")Make sure you have the required dependencies:
install.packages(c("dplyr", "tidyr", "ggplot2", "Rdpack")) library(ExpBites)
# Generate simulated human and mosquito data (for test purpose)
df <- gen_df_human(n_individuals = 100)
df_bites <- gen_df_mosquito()
# Calculate hourly exposure to mosquito bites
exp_result <- calculate_Exp(df, df_bites)
# Summarize exposure for entire day and a specific time window (e.g., 22h to 5h)
summary_tbl <- summarise_exposure(exp_result, interval = c(22, 5))
print(summary_tbl)
# Plot exposure patterns
plot_exposure(exp_result)
# Plot mosquito and human behavior patterns
plot_behaviors(exp_result) This package builds upon and extends the models described in: - Killeen et al. (2006). Quantifying behavioural interactions between humans and mosquitoes… BMC Infectious Diseases - Geissbühler et al. (2007). Interdependence of domestic malaria prevention measures… Malaria Journal - Moiroux et al. (2014). Human exposure to early morning Anopheles biting… PLoS One
This package is released under the GPL-3 License.