To cite ds4psy in derivations and publications use:

Neth H (2020). ds4psy: Data Science for Psychologists. Social Psychology and Decision Sciences, University of Konstanz, Konstanz, Germany. R package (version 0.2.1, May 6, 2020); 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 = {2020},
    organization = {Social Psychology and Decision Sciences, University
      of Konstanz},
    address = {Konstanz, Germany},
    note = {R package (version 0.2.1, May 6, 2020); Textbook at
      <https://bookdown.org/hneth/ds4psy/>.},
    url = {https://CRAN.R-project.org/package=ds4psy},
  }