Cookbook for R
Welcome to the Cookbook for R (formerly named R Cookbook). The goal of the cookbook is to provide solutions to common tasks and problems in analyzing data.
Most of the code in these pages can be copied and pasted into the R command window if you want to see them in action.
- Basics
- Numbers
- Strings
- Formulas
- Data input and output
- Manipulating data
- Statistical analysis
- Graphs
- Scripts and functions
- Tools for experiments
Other useful references
- Quick-R - an excellent quick reference
- R Reference card (PDF)
- R for SAS and SPSS users
This site is created by Winston Chang. It is not related to Paul Teetor's excellent R Cookbook. It was recently migrated from a MoinMoin wiki to a static site generated by Markdoc, and there may have been some errors in the translation. If you find any errors, please report them to winston@stdout.org
.
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 Unported License.