Skip to content

mrc-ide/malariasimple

Repository files navigation

malariasimple

R-CMD-check Codecov test coverage

A fast, time-discrete compartmental approximation of malariasimulation.

Installation

You can install the development version of malariasimple from GitHub with:

# install.packages("pak")
pak::pak("mrc-ide/malariasimple")

Usage

Performing a model simulation in malariasimple is a three-step process:

library(malariasimple)
#1. Define model parameters
params <- get_parameters() |>
          set_equilibrium(init_EIR = 10)

#2. Run model
out <- run_simulation(params)

Code Organisation

The model itself is defined in a single script (inst/odin/malariasimple_deterministic.R) written with odin.dust.

Customisations occur in the parameter set-up stage, which is facilitated by the helper functions found in R/.

License

MIT

About

No description, website, or topics provided.

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages