To cite package ‘lsbs’ in publications use:

Weng G (2018). lsbs: Bandwidth Selection for Level Sets and HDR Estimation. R package version 0.1, https://github.com/weng-gw/lsbs.

Corresponding BibTeX entry:

  @Manual{,
    title = {lsbs: Bandwidth Selection for Level Sets and HDR
      Estimation},
    author = {Guangwei Weng},
    year = {2018},
    note = {R package version 0.1},
    url = {https://github.com/weng-gw/lsbs},
  }