To cite package ‘ddi’ in publications use:

Kuriwaki S (2020). ddi: The Data Defect Index for Samples that May not be IID. R package version 0.1.0, https://github.com/kuriwaki/ddi.

Corresponding BibTeX entry:

  @Manual{,
    title = {ddi: The Data Defect Index for Samples that May not be
      IID},
    author = {Shiro Kuriwaki},
    year = {2020},
    note = {R package version 0.1.0},
    url = {https://github.com/kuriwaki/ddi},
  }