Welcome to the Cookbook for R. 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.
- Data input and output
- Manipulating data
- Statistical analysis
- Scripts and functions
- Tools for experiments
This site is created by Winston Chang. It is not related to Paul Teetor’s excellent R Cookbook (Amazon link).
The code examples on this site are available for use under the CC0 license. All other content is licensed under a Creative Commons Attribution-Share Alike 3.0 Unported License.