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
Nonlinear Optics, 3rd Edition
Nonlinear optics is the study of the interaction of intense laser light with matter. The third …
article
Reinventing the Organization for GenAI and LLMs
Previous technology breakthroughs did not upend organizational structure, but generative AI and LLMs will. We now …
book
Automated Data Collection with R: A Practical Guide to Web Scraping and Text Mining
A hands on guide to web scraping and text mining for both beginners and experienced users …
book
R Data Mining
Mine valuable insights from your data using popular tools and techniques in R About This Book …