R Scripts for the 3rd edn of Data Analysis and Graphics Using R Code Files and Code Notebooks ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Code has been checked, updated to take account of recent changes in R, and some errors corrected. Commands that attach libraries have been added as necessary. Instructions in the text give details, mostly not included in the code. Graphical parameter settings, mostly omitted from the text ("simplified code") have been added. The HTML files give both text and output. These "Code Notebooks" have been created by use of the RStudio 'Compile Notebook ...' command (Click under the 'File' main menu item in RStudio). Also included is code (mlm-new.R) for a relatively thoroughgoing revision of Chapter 10. This goes further than the revised code in taking advantage of abilities in the current version (lme4_1.1-7) of lme4 and related packages. The scripts that were replaced are in the 'archive' subdirectory. Scripts for Creating Figures, and Code Notebooks ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Revised scripts for creating figures can be found in the directory http://math-people.anu.edu.au//~johnm/r-book/3edn/figures Again, HTML code notebook files are also provided. John Maindonald September 28 2014. (Description updated September 9 2015).