To cite package 'HiddenMarkov' in publications use:

Harte D (2021). HiddenMarkov: Hidden Markov Models. Statistics Research Associates, Wellington. R package version 1.8-13, https://www.statsresearch.co.nz/dsh/sslib/.

Corresponding BibTeX entry:

  @Manual{,
    title = {HiddenMarkov: Hidden Markov Models},
    author = {David Harte},
    year = {2021},
    note = {R package version 1.8-13},
    organization = {Statistics Research Associates},
    address = {Wellington},
    url = {https://www.statsresearch.co.nz/dsh/sslib/},
  }