Materials for the PhD course Visualisation and Statistical Analysis held in the Faculty of Languages, Uppsala University, Autumn Term 2018.
- Slides (from your browser, press key 'f' for fullscreen, 'w' for wide format)
For homework,
- Revise the notebook from the session, and finish up the final session (vectors). A good way to work is to read through and predict what will happen in each chunk before running it.
- Then do the homework exercises. The main two parts are (i) working out how to install a package (a collection of special functions that work together), and (ii) writing functions to encapsulate a sequence of commands to carry out a particular.... function.
- Read Wilson et al. 2017 and prepare a question or comment.
- Revise the Notes (download these and open them with RStudio)
- Then do the homework exercises at the end of the markdown document. This has two parts:
- Wrangling the Kelly data from Språkbanken — try to read this data into R after exporting it from excel. It'll require some manual fiddling
- Writing a more complex function with lots of potential arguments
- Next week we start doing something interesting with the Kelly data
- Michael’s tidied-up version of the Kelly data (tab separated values, use
read_tsv
) - The homework
- The notes from class in html and markdown format
- The notes from class and the introduction to GREP slides
- I have set some homework after all. You will also need the following data: numeral-frequency.tsv. Please email this to me by Sunday evening.
- Deriving summary statistics
- Plotting homework review
The notes are available in html
The notes from class
Data for class exercise
The notes from class