To cite package ‘lg’ in publications use:

Otneim H (2020). lg: Locally Gaussian Distributions: Estimation and Methods. R package version 0.4.1, https://github.com/hotneim/lg.

Corresponding BibTeX entry:

  @Manual{,
    title = {lg: Locally Gaussian Distributions: Estimation and
      Methods},
    author = {Håkon Otneim},
    year = {2020},
    note = {R package version 0.4.1},
    url = {https://github.com/hotneim/lg},
  }