Description
With more than 200 practical recipes, this book helps you perform data analysis with R quickly and efficiently. The R language provides the whole lot you want to do statistical work, but its structure can also be difficult to master. This collection of concise, task-oriented recipes makes you productive with R right away, with solutions ranging from basic tasks to input and output, general statistics, graphics, and linear regression.
Each recipe addresses a specific problem, with a discussion that explains the solution and offers insight into how it works. If you’re a beginner, R Cookbook will assist get you began. If you’re an experienced data programmer, it’ll jog your memory and expand your horizons. You’ll get the job done faster and learn more about R in the process.
- Create vectors, deal with variables, and perform other basic functions
- Input and output data
- Tackle data structures such as matrices, lists, factors, and data frames
- Work with probability, probability distributions, and random variables
- Calculate statistics and confidence intervals, and perform statistical tests
- Create quite a lot of graphic displays
- Build statistical models with linear regressions and analysis of variance (ANOVA)
- Explore advanced statistical techniques, such as finding clusters in your data
“Wonderfully readable, R Cookbook serves not only as a solutions manual of sorts, but as a actually enjoyable way to explore the R language—one practical example at a time.”—Jeffrey Ryan, software consultant and R package author