To cite package ‘macpan2’ in publications use:

Steve Walker, Weiguang Guan, Jen Freeman, Ben Bolker, Darren Flynn-Primrose (2026). macpan2: Fast and Flexible Compartmental Modelling. R package version 3.5.1, https://github.com/canmod/macpan2.

Corresponding BibTeX entry:

  @Manual{,
    title = {macpan2: Fast and Flexible Compartmental Modelling},
    author = {{Steve Walker} and {Weiguang Guan} and {Jen Freeman} and
      {Ben Bolker} and {Darren Flynn-Primrose}},
    year = {2026},
    note = {R package version 3.5.1},
    url = {https://github.com/canmod/macpan2},
  }