/ecrins

TBI screening in PPD

Primary LanguageCCreative Commons Attribution 4.0 InternationalCC-BY-4.0

ecrins

R-CMD-check

The goal of ecrins is to simulate PPD flows and TB progression with ordinary differential equations.

Installation

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")

Example

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