My new book on data science with R

By Christian Ryan

September 3, 2021

For the past couple of years I have been working on a book using R for data science. The focus is on elements of data management that are sometimes treated lightly in traditional statistics books - organising data, renaming variables, creating composite scores and creating publication-ready output.

Here is the blurb from the back of the book:

This introduction to R for students of psychology and health sciences aims to fast-track the reader through some of the most difficult aspects of learning to do data analysis and statistics. It demonstrates the benefits for reproducibility and reliability of using a programming language over commercial software packages such as SPSS. The early chapters build at a gentle pace, to give the reader confidence in moving from a point-and-click software environment, to the more robust and reliable world of statistical coding. This is a thoroughly modern and up-to-date approach using RStudio and the tidyverse. A range of R packages relevant to psychological research are discussed in detail. A great deal of research in the health sciences concerns questionnaire data, which may require recoding, aggregation and transformation before quantitative techniques and statistical analysis can be applied. R offers many useful and transparent functions to process data and check psychometric properties. These are illustrated in detail, along with a wide range of tools R affords for data visualisation. Many introductory statistics books for the health sciences rely on toy examples - in contrast, this book benefits from utilising open datasets from published psychological studies, to both motivate and demonstrate the transition from data manipulation and analysis to published report. R Markdown is becoming the preferred method for communicating in the open science community. This book also covers the detail of how to integrate the use of R Markdown documents into the research workflow and how to use these in preparing manuscripts for publication, adhering to the latest APA style guidelines.

https://books.google.ie/books/about/Data_Science_with_R_for_Psychologists_an.html?id=IudvzgEACAAJ&redir_esc=y

The book will be available in December 2021.

I have developed a companion package for the book called r4psych.

This package contains all of the datasets used in the analysis. It can be accessed using the following code:

library(devtools)
install_github("Christian-Ryan/r4psych")

More details on using the package are given in chapter 4 of the book.

Posted on:
September 3, 2021
Length:
2 minute read, 370 words
See Also: