Assignment 5

Modelling in R, including an R file with helper functions (including how
to split data)