To cite TrendLSW in publications use:

McGonigle ET, Killick R, Nunes MA (2025). “TrendLSW: Trend and Spectral Estimation of Nonstationary Time Series in R.” Journal of Statistical Software, 115(10), 1–30. doi:10.18637/jss.v115.i10.

Corresponding BibTeX entry:

  @Article{,
    title = {{TrendLSW}: Trend and Spectral Estimation of Nonstationary
      Time Series in {R}},
    author = {Euan T. McGonigle and Rebecca Killick and Matthew A.
      Nunes},
    journal = {Journal of Statistical Software},
    year = {2025},
    volume = {115},
    number = {10},
    pages = {1--30},
    doi = {10.18637/jss.v115.i10},
  }