About R4phd

R4phd is a free, open collection of teaching material on R, RStudio, the tidyverse and reproducible data science. It began as the website for our 4-day PhD course at the University of Southern Denmark, and today we use it across several courses and workshops. It is also meant for anyone who wants to learn on their own.

Our aim is practical: to help researchers move from a spreadsheet to a transparent, reproducible workflow in which data import, cleaning, analysis, figures and tables all live in code.

The team

We are two researchers in musculoskeletal and pain research who use R every day. We use it for classic data science and statistics, but also to build Shiny apps and chatbots and to analyse digital pain drawings (paindrawr)

Illustrated portrait of Søren O'Neill

Søren O’Neill

Clinical Associate Professor, PhD

Søren is based at the Department of Regional Health Research, University of Southern Denmark, and the Spine Centre of Southern Denmark, Lillebaelt Hospital in Kolding. His research focuses on low back pain, pain mechanisms and pain modulation.

Research profile

Illustrated portrait of Steen Harsted

Steen Harsted

Associate Professor, PhD

Steen is based at SDU Health Informatics and Technology, the Maersk Mc-Kinney Moller Institute. His research covers spinal pain, pain drawings, reliability studies and motor development in preschool children. He is the author of the R package mocapr for working with motion capture data.

Research profile

Reuse and licence

All material on this site is licensed under Creative Commons Attribution (CC BY). You are free to share and adapt it, including in your own teaching, as long as you give appropriate credit.

Feedback

Found an error, a broken link or something that could be explained better? Let us know. Feedback from learners is the main way this material improves.