The goal of ecrins is to simulate PPD flows and TB progression with ordinary differential equations.
If your R set up is able to compile packages, you can install the development version of ecrins from GitHub with:
# install.packages("devtools")
devtools::install_github("petedodd/ecrins")
This is a basic example which shows you how to solve a common problem:
library(ecrins)
data(parms) #some default parameters
tt <- seq(from=0, to=10, by=0.1) #time frame to run over
y <- runmodel(tt,parms) #run model
head(y) #look at answer