Preface Part Ⅰ. R Basics 1. Getting and Installing R R Versions Getting and Installing Interactive R Binaries Windows Mac OS X Linux and Unix Systems 2. The R Userlnterface The R Graphical User Interface Windows Mac OS X Linux and Unix The R Console Command-Line Editing Batch Mode Using R Inside Microsoft Excel RStudio Other Ways to Run R 3. AShort RTutorial Basic Operations in R Functions Variables Introduction to Data Structures Objects and Classes Models and Formulas Charts and Graphics Getting Help 4. R Packages An Overview of Packages Listing Packages in Local Libraries Loading Packages Loading Packages on Windows and Linux Loading Packages on Mac OS X Exploring Package Repositories Exploring R Package Repositories on the Web Finding and Installing Packages Inside R Installing Packages From Other Repositories Custom Packages Creating a Package Directory Building the Package Part Ⅱ. The R Language 5. An Overview of the R Language Expressions Objects Symbols Functions Objects Are Copied in Assignment Statements Everything in R Is an Object Special Values NA Inf and -Inf NaN NULL Coercion The R Interpreter Seeing How R Works 6. R Syntax Constants Numeric Vectors Character Vectors Symbols Operators Order of Operations …… 7. R Objects 8. Symbols and Environments 9. Functions. 10. Object-Oriented Programming Part Ⅲ. Working with Data 11. Saving, Loading, and Editing Data 12. Preparing Data Part Ⅳ. Data Visualization 13. Graphics 14. Lattice Graphics 15. ggplot2 Part Ⅴ. Statistics with R 16. Analyzing Data 17. Probability Distributions 18. Statistical Tests 19. Power Tests 20. Regression Models 21. Classification Models 22. Machine Learning 23. Time Series Analysis Part Ⅵ. Additional Topics 24. Optimizing R Programs 25. Bioconductor 26. Rand Hadoop Appendix: R Reference Bibliography Index