To cite ds4psy in derivations and publications use:

Neth H (2021). ds4psy: Data Science for Psychologists. Social Psychology and Decision Sciences, University of Konstanz, Konstanz, Germany. R package (version 0.7.0, May 12, 2021); Textbook at <https://bookdown.org/hneth/ds4psy/>., https://CRAN.R-project.org/package=ds4psy.

Corresponding BibTeX entry:

  @Manual{,
    title = {ds4psy: Data Science for Psychologists},
    author = {Hansjörg Neth},
    year = {2021},
    organization = {Social Psychology and Decision Sciences, University
      of Konstanz},
    address = {Konstanz, Germany},
    note = {R package (version 0.7.0, May 12, 2021); Textbook at
      <https://bookdown.org/hneth/ds4psy/>.},
    url = {https://CRAN.R-project.org/package=ds4psy},
  }