To cite localgauss in publications use:

Berentsen GD, Kleppe TS, Tjøstheim D (2014). “Introducing localgauss, an R Package for Estimating and Visualizing Local Gaussian Correlation.” Journal of Statistical Software, 56(12), 1–18. https://doi.org/10.18637/jss.v056.i12.

Corresponding BibTeX entry:

  @Article{,
    title = {Introducing {localgauss}, an {R} Package for Estimating
      and Visualizing Local Gaussian Correlation},
    author = {Geir Drage Berentsen and Tore Selland Kleppe and Dag
      Tj{\o}stheim},
    journal = {Journal of Statistical Software},
    year = {2014},
    volume = {56},
    number = {12},
    pages = {1--18},
    url = {https://doi.org/10.18637/jss.v056.i12},
  }