To cite package 'latdiag' in publications use:

Dewey M (2020). latdiag: diagrams for latent trait models. R package version 0.3.

Corresponding BibTeX entry:

  @Manual{,
    title = {latdiag: diagrams for latent trait models},
    author = {Michael Dewey},
    year = {2020},
    note = {R package version 0.3},
  }