To cite mexhaz in publications use:

Charvat H, Belot A (2021). “mexhaz: An R Package for Fitting Flexible Hazard-Based Regression Models for Overall and Excess Mortality with a Random Effect.” Journal of Statistical Software, 98(14), 1–36. doi:10.18637/jss.v098.i14.

Corresponding BibTeX entry:

  @Article{,
    title = {{mexhaz}: An {R} Package for Fitting Flexible Hazard-Based
      Regression Models for Overall and Excess Mortality with a Random
      Effect},
    author = {Hadrien Charvat and Aur\'elien Belot},
    journal = {Journal of Statistical Software},
    year = {2021},
    volume = {98},
    number = {14},
    pages = {1--36},
    doi = {10.18637/jss.v098.i14},
  }