Cookies on this website
We use cookies to ensure that we give you the best experience on our website. If you click 'Continue' we'll assume that you are happy to receive all cookies and you won't see this message again. Click 'Find out more' for information on how to change your cookie settings.
Skip to main content


Successful integration of computer simulation with real world experimentation requires the relationship between simulation and the real-world system to be established. Spartan, described in our 2013 paper in PLoS Computational Biology, is a package of statistical techniques specifically designed to understand this relationship and provide novel biological insight. These techniques help reveal the influence that pathways and components have on simulation behaviour, offering valuable biological insight into aspects of the system under study.

Spartan is open source, implemented within the R statistical environment, and freely available from both the Comprehensive R Archive Network (CRAN) and on this page below. Use of the package is demonstrated via the tutorial published in the R Journal. Example simulation data for each technique described are available in the tabs below.

Getting Spartan

Install from CRAN (install.packages(“spartan”)) (Older versions of spartan are available on the CRAN archive (https://cran.r-project.org/src/contrib/Archive/spartan/))


Install Version 3.0.2 from source: Linux/Mac https://cran.r-project.org/src/contrib/spartan_3.0.2.tar.gz | Windows https://cran.r-project.org/bin/windows/contrib/3.6/spartan_3.0.2.zip


Install from Github Repository https://github.com/kalden/spartan

Instruction Vignettes:

Applying spartan to Understand Parameter Uncertainty in Simulations: Sensitivity Analysis https://cran.r-project.org/web/packages/spartan/vignettes/sensitivity_analysis.html

Analysing Netlogo Simulations Using Netlogo https://cran.r-project.org/web/packages/spartan/vignettes/netlogo.html

Expedited and Enriched Analyses Using Emulations & Ensembles https://cran.r-project.org/web/packages/spartan/vignettes/emulation_ensembles.html

R Journal Publication with Detailed Description and Examples of Using the Spartan Package http://journal.r-project.org/archive/2014-2/alden-read-andrews-etal.pdf

Techniques and Tutorial Example Data are all available from https://www.kieranalden.info/index.php/spartan