# An Introduction to R

*2021-08-27*

# About this tutorial

This tutorial is written for students on MAS113 and MAS5052.

Part I covers the basics of working with R, and will be needed throughout both modules.

Part II gives an illustration of using R to do simulation (the “Monte Carlo” method). You will not be required to implement simulation yourself on either module, but some simulation ideas are used in later lectures on hypothesis testing; this illustration will help with those.

Part III gives a short introduction to R Markdown - this will be needed for practical assignments.

Part IV has some extra topics that are all optional for both modules, but you may find these helpful.