Book description
R is a powerful tool for statistics and graphics, but getting started with this language can be frustrating. This short, concise book provides beginners with a selection of how-to recipes to solve simple problems with R. Each solution gives you just what you need to know to use R for basic statistics, graphics, and regression.
You'll find recipes on reading data files, creating data frames, computing basic statistics, testing means and correlations, creating a scatter plot, performing simple linear regression, and many more. These solutions were selected from O'Reilly's R Cookbook, which contains more than 200 recipes for R that you'll find useful once you move beyond the basics.
Publisher resources
Table of contents
- Preface
-
1. The Recipes
- 1.1. Downloading and Installing R
- 1.2. Getting Help on a Function
- 1.3. Viewing the Supplied Documentation
- 1.4. Searching the Web for Help
- 1.5. Reading Tabular Datafiles
- 1.6. Reading from CSV Files
- 1.7. Creating a Vector
- 1.8. Computing Basic Statistics
- 1.9. Initializing a Data Frame from Column Data
- 1.10. Selecting Data Frame Columns by Position
- 1.11. Selecting Data Frame Columns by Name
- 1.12. Forming a Confidence Interval for a Mean
- 1.13. Forming a Confidence Interval for a Proportion
- 1.14. Comparing the Means of Two Samples
- 1.15. Testing a Correlation for Significance
- 1.16. Creating a Scatter Plot
- 1.17. Creating a Bar Chart
- 1.18. Creating a Box Plot
- 1.19. Creating a Histogram
- 1.20. Performing Simple Linear Regression
- 1.21. Performing Multiple Linear Regression
- 1.22. Getting Regression Statistics
- 1.23. Diagnosing a Linear Regression
- 1.24. Predicting New Values
- 1.25. Accessing the Functions in a Package
- About the Author
- Copyright
Product information
- Title: 25 Recipes for Getting Started with R
- Author(s):
- Release date: February 2011
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781449303235
You might also like
book
Code Complete, 2nd Edition
Widely considered one of the best practical guides to programming, Steve McConnell’s original CODE COMPLETE has …
book
Learning the bash Shell, 3rd Edition
O'Reilly's bestselling book on Linux's bash shell is at it again. Now that Linux is an …
book
Move Your Mind
Learn how to create new daily habits that build happiness and reduce stress In Move Your …
book
Think Python, 2nd Edition
If you want to learn how to program, working with Python is an excellent way to …