To cite package ‘scanstatistics’ in publications use:

Allévius B (2018). “scanstatistics: space-time anomaly detection using scan statistics.” Journal of Open Source Software, 3(25), 515. doi:10.21105/joss.00515.

Corresponding BibTeX entry:

  @Article{,
    author = {Benjamin Allévius},
    title = {scanstatistics: space-time anomaly detection using scan
      statistics},
    journal = {Journal of Open Source Software},
    year = {2018},
    volume = {3},
    number = {25},
    pages = {515},
    doi = {10.21105/joss.00515},
  }