concurrency.sim is an R package that contains a microsimulation model for the effects of sexual partner concurrency on HIV-1 transmission dynamics. It provides a limited set of analysis and plotting tools, as well as a built-in Shiny application, to explore concurrency within a heterosexual population at risk.
You can run the Shiny app locally, or online from the shinyapps.io server in your web browser.
The package is hosted on Github. It can be installed using the devtools package:
if (!require("remotes")) install.packages("remotes")
remotes::install_github("statnet/concurrency.sim")
Then, to start the built-in Shiny application on your local machine, load the package and run the concweb
function.
library(concurrency.sim)
concweb()
This app is also hosted online at shinyapps.io. Connecting via the shinyapps.io server allows you to run the app in your web browser without having to install R
or this concurrency.sim
package on your computer.