INTRODUCTION TO STATISTICAL MODELLING IN R P.M.E.Altham, Statistical Laboratory, University of Cambridge. November 15, 2012