Skip to content

sbfnk/fitR

Repository files navigation

License: MIT R-CMD-check Codecov test coverage

fitR: Functions for model fitting and inference

The functions contained in this package have been developed in support of a course on Model fitting and inference for infectious disease dynamics run annually at the London School of Hygiene & Tropical Medicine.

The main purpose of this package is to be a teaching tool, and the implementation of inference algorithms in this package is not particularly efficient of stable. For vastly superior alternative options for fitting models to data in R we recommend to consider, amongst others

  • rstan, an interface to Stan.
  • rbi, an interface to LibBi.
  • pomp, for partially observed Markov processes.

Installation

The easiest way to install fitR is to use the remotes package:

# install.packages("remotes")
library(remotes)
install_github("sbfnk/fitR", dependencies = TRUE)