# Psychology R Lab 01-03 — Student files

**Independent tutoring resource**, not official UCL teaching material. PALS0046 is an unconfirmed candidate module. All participant data are synthetic.

## Start
1. Install R; RStudio is recommended.
2. Extract the full ZIP, keeping the `data/` and `scripts/` directories.
3. Open RStudio and set the working directory to the unpacked folder.
4. Run `source("scripts/check_setup.R")`; expect `PALS0046 LAB 01-03 SETUP CHECK PASS`.
5. Open the appropriate week script and work through each task.

## Contents
- `index.html`: student landing page and links.
- `workbook.html`: readable lesson workbook.
- `worksheet.md`: full plain-text lessons.
- `data/pals_synthetic.csv`: 18 fictional participants, 8 variables.
- `scripts/check_setup.R`: simple base R self-check.
- `scripts/week01_intro.R`: R basics and vectors.
- `scripts/week02_types_missing.R`: data frames and NA.
- `scripts/week03_descriptive.R`: descriptive statistics.

These scripts have not yet been executed using an installed R runtime in this workspace. No teacher-only solutions are included.
