Buy the GCP R3 course & get a FREE eBook— your complete ICH-GCP R3 reference guide. Book Now →

  • Preclinical & Laboratory Foundations Learning Path
  • Phase I – First-in-Human Trials Learning Path
  • Phase II & III – Efficacy & Pivotal Trials Learning Path
  • Clinical Trials Foundation PathNew
  • Regulatory Submission & Approval

About

R Programming for Clinical Trials training provides a practical introduction to using R for clinical research and statistical programming. It helps learners understand how R can be applied throughout the clinical trial data analysis lifecycle, from importing and cleaning clinical datasets to performing statistical analyses and creating presentation-ready outputs.
This R Programming for Clinical Trials Course & Certification provides essential knowledge of R programming fundamentals, data manipulation, clinical data structures, descriptive statistics, statistical testing, data visualization, reporting, and reproducible analysis practices. Learners gain practical exposure to using R for clinical trial data preparation, analysis, and reporting while developing an understanding of programming standards and good practices relevant to clinical research. Upon successful completion, learners receive a certification demonstrating their understanding of R programming concepts and their application in clinical trial analysis.

Who Should Enrol?

  • Clinical Data Managers and Clinical Data Specialists
  • Clinical SAS and R Programmers
  • Biostatisticians and Statistical Programmers
  • Clinical Research Associates and Clinical Research Professionals
  • Data Analysts and Healthcare Data Scientists
  • Pharmacovigilance and Drug Safety Professionals
  • Biopharmaceutical and Clinical Research Teams
  • Anyone involved in clinical trial data analysis, reporting, or statistical programming
📢 Every purchase also includes our FREE companion R Programming for Clinical Trials Training eBook, designed to help you apply principles in real-world clinical trial analysis settings.

What you will learn

Understand the fundamentals of R programming and how R is used in clinical research, including data structures, functions, packages, data import, and basic programming concepts.

Learn how to manage, clean, transform, and validate clinical trial datasets using R, including data manipulation, missing data handling, descriptive statistics, and data quality checks.

Develop practical knowledge of statistical analysis and visualization in R for clinical trials, including summary statistics, hypothesis testing, graphical analysis, and commonly used clinical research methods.

Gain an understanding of clinical trial reporting using R, including reproducible analysis, tables and figures, programming documentation, analysis workflows, and best practices for generating reliable clinical study outputs.

Course Syllabus

  1. Installing R (CRAN) then RStudio (Posit)
  2. The RStudio panes and running code
  3. Projects and the working directory
  4. Assignment, operators and calling functions
  5. Packages, CRAN and install.packages vs library
  6. Reading console messages and getting help
  7. Hands-on - read ORION-3 DM with read.csv, head/str/summary

  1. Vectors and the atomic types
  2. Coercion hierarchy and type checks
  3. Factors for treatment arms and age groups
  4. Indexing: [ ], [[ ]] and $
  5. Lists and data.frames
  6. Missing values: NA, is.na and na.rm
  7. Hands-on - build, subset and clean a DM data.frame

  1. The base pipe |> and reading a pipeline
  2. filter, select, arrange, mutate, rename
  3. group_by + summarise, count and distinct
  4. if_else and case_when derivations
  5. Joins: left_join, inner_join, anti_join
  6. SAS equivalents (WHERE, MERGE, PROC MEANS/FREQ)
  7. Hands-on - derive AGEGR1, count AEs, join demographics

  1. Tidy data; long vs wide layouts
  2. pivot_longer and pivot_wider
  3. separate and unite columns
  4. The grammar of graphics: data, aes, geoms
  5. Scales, facets and themes
  6. Kaplan-Meier plots with ggsurvfit / survminer
  7. Hands-on - mean change-from-baseline figure by arm

  1. Reading .xpt and .sas7bdat with haven
  2. Variable labels, attributes and as_factor
  3. SDTM domains (DM, AE, LB) as tibbles
  4. ADaM: ADSL and BDS structures
  5. Traceability and the pharmaverse
  6. Intro to {admiral} for ADaM derivations
  7. Hands-on - read ORION-3 .xpt and derive ITTFL/AGEGR1

  1. Tables, Listings and Figures; shells and the SAP
  2. Summary tables with gt
  3. Clinical-grade tables with rtables and tern
  4. Demographics Table 1 with gtsummary
  5. Big-N, denominators and clinical rounding
  6. Listings and figures; exporting TLFs
  7. Hands-on - demographics table, AE listing and figure

  1. Literate programming: code and prose together
  2. Anatomy: YAML, chunks, knitr and inline code
  3. Chunk options and caching
  4. Parameters (params:) for a report per arm
  5. Output to HTML, PDF and Word
  6. Embedding gt/flextable tables and ggplot figures
  7. Hands-on - knit a parameterised demographics report

  1. Why reproducibility breaks; sessionInfo()
  2. renv: init, snapshot, restore, status and the lockfile
  3. Project libraries and committing the lockfile
  4. The R Consortium R Submissions Working Group and FDA pilots
  5. pharmaverse, {admiral} and {pkglite} for submission
  6. Validation and qualification expectations (feasibility, not mandate)
  7. Hands-on - renv::init() then renv::snapshot(); inspect the lockfile

  1. Synthesis and the SAS <-> R comparison recap
  2. Junior R-programmer competency checklist
  3. Where to keep practising (Posit Cloud, pharmaverse)

  1. 📘 Bonus: R Programming for Clinical Trials Training eBook (Free with purchase)

Course Benefits

Benefits ebook icon
Free eBook

Get our exclusive eBook with every purchase - a complete companion guide to the course, yours to keep forever

Benefits cpd_points icon
CPD Points

Gain Continuing Professional Development (CPD) Points, accredited by The Faculty of Pharmaceutical Medicine of the Royal College of Physicians of the United Kingdom. These can be used to count towards the distance learning element of any scheme that comes under the umbrella of The Academy of Medical Royal Colleges or any other scheme for which there is mutual recognition.

Benefits certification icon
Certification

Receive a personal certificate to show your subject knowledge on course completion.

Benefits affordable icon
Affordable

You get excellent value through our cost-effective prices. We can also offer you group discounts on larger purchases.

Benefits flexible icon
Flexibility

The course saves you time through the convenience of online availability. This lets you complete the interactive course at your own comfort.

Benefits up_to_date icon
Keep Up to Date

You will stay up to date with CDISC standards (SDTMIG and ADaMIG), Controlled Terminology and ICH E9 conventions, with the tidyverse and pharmaverse/{admiral} ecosystem, and with the evolving regulatory position on R (R Consortium R Submissions Working Group / FDA pilots), as our training courses are constantly monitored, reviewed and updated.

Benefits industry_experts icon
Learn from Industry Experts

The course content has been developed by experienced clinical R and SAS programmers and biostatisticians to ensure that learners can write, debug and validate real clinical-trial R programs at the bench.


Our Certified Customers

novartis
NHS
takeda
roche
dhl

Learner Rating & Reviews

4.7
Average Rating
536 global ratings
87.0%
5.0%
3.0%
3.0%
2.0%
RC

Working with Whitehall training for the last two years of partnership has been a very successful experience – I have fast access to all the GCP course...

SM

I have finalised the demo for the ICH-GCP E6 R3 refresher course. Overall, I liked the content and the interface. I also want to thank Whitehall Train...