## Research compendium
The archive `polar-gam.zip` contains the data and code of the paper *Assessing mid-sagittal tongue contours in polar coordinates using generalised additive (mixed) models*.
The file `code.R` includes the code from the paper.
The folder `datasets` contains the files with tongue contour data (exported from AAA), the file `stimuli.csv` with info on the stimuli, and `speakers.csv` with info on the speakers.
To reproduce the analyses and plots of the paper:
1. Install tidyverse, mgcv and itsadug from CRAN.
2. Install tidymv@v2.2.0 from <https://github.com/stefanocoretta/tidymv/releases/tag/v2.2.0> (the `plot_difference()` function has been removed from v3.0.0 on CRAN).
3. Install rticulate from https://github.com/stefanocoretta/rticulate.
4. Run `code.R`.