Below you will find the data and R code for my book R for College Mathematics and Statistics. Any corrections to the code in the book will be found in the R files. Over time I may add materials to this page to support those that wish to use R, increase their use of R, or improve their use of R in the classroom. If you have thoughts on how I can to this, as well as comments and corrections related to the book, then don't hesitate to send me an email. Currently, I'm using R extensively in an applied calculus class and I teach a 1-credit course on simulation with R.
Data
R Code by Chapter
Chapter 1 Getting Started
Chapter 2 Functions and Their Graphs
Chapter 3 Graphing
Chapter 4 Polynomials
Chapter 5 Sequences, Series, and Limits
Chapter 6 Calculating Derivatives
Chapter 7 Riemann Sums and Integration
Chapter 8 Planes, Surfaces, Rotations, and Solids
Chapter 9 Curve Fitting
Chapter 10 Simulation
Chapter 11 The Central Limit Theorem and Z-test
Chapter 12 The T-Test
Chapter 13 Testing Proportions
Chapter 14 Linear Regression
Chapter 15 Nonparametric Statistical Tests
Chapter 16 Miscellaneous Statistical Tests
Chapter 17 Matrices
Chapter 18 Differential Equations
Chapter 19 Some Discrete Mathematics
Appendix A Loops, Vectors, and Apply