To cite the colorSpec package, and the centroid method for spectral estimation, in publications:

Davis G (2018). colorSpec: Color Calculations with Emphasis on Spectral Data. R package version 0.7-5, https://CRAN.R-project.org/package=colorSpec.

Davis G (2018). “A Centroid for Sections of a Cube in a Function Space, with application to Colorimetry.” ArXiv e-prints. 1811.00990, https://arxiv.org/abs/1811.00990.

Corresponding BibTeX entries:

  @Manual{,
    title = {{colorSpec}: Color Calculations with Emphasis on Spectral
      Data},
    author = {Glenn Davis},
    year = {2018},
    note = {R package version 0.7-5},
    url = {https://CRAN.R-project.org/package=colorSpec},
  }
  @Article{,
    title = {{A Centroid for Sections of a Cube in a Function Space,
      with application to Colorimetry}},
    author = {Glenn Davis},
    journal = {ArXiv e-prints},
    archiveprefix = {arXiv},
    eprint = {1811.00990},
    primaryclass = {math.FA},
    keywords = {Mathematics - Functional Analysis, 45Q05, 65R32, 41A60,
      44A10},
    year = {2018},
    month = {Nov},
    url = {https://arxiv.org/abs/1811.00990},
  }