01 · R familiarisation
Objects, vectors, CSV, data.frame, averages and scope.
An independently prepared four-week R practice collection with original fictional CSV datasets, student tasks and publicly available instructor solutions.
Download four-week ZIP Download full offline websiteFour student starter .R files, four teacher solution .R files, seven fictional CSV datasets and bilingual README. All examples use base R without internet access or extra packages. Extract the ZIP, set RStudio's working directory to its root and open the Week 1 student script.
Objects, vectors, CSV, data.frame, averages and scope.
Join with id + intervention, occasion 0/1 and matched changes.
Synthetic responses, long format, reverse-keyed items and totals.
Histogram, scatter, boxplot, clear labels and limits of inference.
This is not the student's original UCL ZIP package: those sources have uncertain redistribution rights and may include real research records. This public edition reproduces the learning objectives with entirely invented data and independently authored practice. It is not an official UCL assignment or examination answer key. AQ-like scoring is an educational exercise, not diagnosis.
Related teaching materials: four-week R syntax guide · instructor preparation.