Skip to content

unsw-edu-au/r4psych

Repository files navigation

R for Psychology Quarto book

This book is written in mind for someone working in Psychology and is venturing into R with little to no experience. Research data in Psychology is unique in that it is collected in formats that are human-readable but not exactly R-readable. Data wrangling conventions will often vary depending on research question and therefore by which data is collected. In "R for Psychology", we have compiled a series of real-world examples from different sub-disciplines and will walk through the process of wrangling, summary, analyses and visualisations

The book can be assessed via https://unsw-edu-au.github.io/r4psych/

This book is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License

Authors

The first draft of this book was created by Fonti Kar, Jenny Richmond and Lisa Williams

How to contribute

This book is built using Quarto and hosted via GitHub Pages. It is a living resource, we welcome any contributions from the Psychology community that would improve the quality of this book. The authors are the current maintainers and will be happy to review contributions that adhere to our contributing guidelines.

There are many ways to contribute:

  • Fixing grammar and typos
  • Clarification or expanding on existing content
  • Contribute real-world data in worked examples
  • Authoring an entire chapter

Take a look at our Contributing Guideline to see how you can help!

Questions and feedback

If you would have any questions or discuss ideas or provide to feedback, Please contact Fonti or submit a Github Issue

Acknowledgements

This book was created on the unceded territory of the Bedegal people who are the Traditional custodians of the lands where the Kensington campus is located.

The first version of this book was funded by the UNSW Research Infrastructure Scheme.

Render the book locally

  1. Install Quarto using these instructions
  2. Clone this repository to your local computer
  3. Open the r4psych.Rproj file using RStudio
  4. Click on any .qmd files and click on Render.

Alternatively,

  1. Click on there 'Terminal' pane and type quarto render and hit enter
  2. Once the book has been rendered and the terminal is free, type quarto preview and hit enter

This should open the book in your View Pane or default browser