To cite kml3d in publications use:

Christophe Genolini, Xavier Alacoque, Marianne Sentenac, Catherine Arnaud (2015). kml and kml3d: R Packages to Cluster Longitudinal Data. Journal of Statistical Software, 65(4), 1-34. URL http://www.jstatsoft.org/v65/i04/.

Corresponding BibTeX entry:

  @Article{,
    title = {{kml} and {kml3d}: {R} Packages to Cluster Longitudinal
      Data},
    author = {Christophe Genolini and Xavier Alacoque and Marianne
      Sentenac and Catherine Arnaud},
    journal = {Journal of Statistical Software},
    year = {2015},
    volume = {65},
    number = {4},
    pages = {1--34},
    url = {http://www.jstatsoft.org/v65/i04/},
  }