Book description
A starttofinish guide to one of the most useful programming languages for researchers in a variety of fields
In the newly revised Third Edition of The R Book, a team of distinguished teachers and researchers delivers a userfriendly and comprehensive discussion of foundational and advanced topics in the R software language, which is used widely in science, engineering, medicine, economics, and other fields. The book is designed to be used as both a complete text—readable from cover to cover—and as a reference manual for practitioners seeking authoritative guidance on particular topics.
This latest edition offers instruction on the use of the RStudio GUI, an easytouse environment for those new to R. It provides readers with a complete walkthrough of the R language, beginning at a point that assumes no prior knowledge of R and very little previous knowledge of statistics. Readers will also find:
 A thorough introduction to fundamental concepts in statistics and stepbystep roadmaps to their implementation in R;
 Comprehensive explorations of worked examples in R;
 A complementary companion website with downloadable datasets that are used in the book;
 Indepth examination of essential R packages.
Perfect for undergraduate and postgraduate students of science, engineering, medicine economics, and geography, The R Book will also earn a place in the libraries of social sciences professionals.
Table of contents
 Cover
 Title Page
 Copyright
 List of Tables
 Preface
 Acknowledgments
 About the Companion Website
 1 Getting Started
 2 Technical Background

3 Essentials of the Language
 3.1 Calculations
 3.2 Naming objects
 3.3 Factors
 3.4 Logical operations
 3.5 Generating sequences
 3.6 Class membership
 3.7 Missing values, infinity, and things that are not numbers
 3.8 Vectors and subscripts
 3.9 Working with logical subscripts
 3.10 Vector functions
 3.11 Matrices and arrays
 3.12 Random numbers, sampling, and shuffling
 3.13 Loops and repeats
 3.14 Lists
 3.15 Text, character strings, and pattern matching
 3.16 Dates and times in
 3.17 Environments
 3.18 Writing functions
 3.19 Structure of objects
 3.20 Writing from to a file
 3.21 Tips for writing code
 References
 4 Data Input and Dataframes
 5 Graphics
 6 Graphics in More Detail
 7 Tables
 8 Probability Distributions in
 9 Testing
 10 Regression
 11 Generalised Linear Models
 12 Generalised Additive Models

13 Mixed‐Effect Models
 13.1 Regression with categorical covariates
 13.2 An alternative method: random effects
 13.3 Common data structures where random effects are useful
 13.4 packages to deal with mixed effects models
 13.5 Examples of implementing random effect models
 13.6 Generalised linear mixed models
 13.7 Alternatives to mixed models
 References
 14 Non‐linear Regression
 15 Survival Analysis
 16 Designed Experiments
 17 Meta‐Analysis
 18 Time Series
 19 Multivariate Statistics
 20 Classification and Regression Trees
 21 Spatial Statistics
 22 Bayesian Statistics
 23 Simulation Models
 Index
 End User License Agreement
Product information
 Title: The R Book, 3rd Edition
 Author(s):
 Release date: September 2022
 Publisher(s): Wiley
 ISBN: 9781119634324
You might also like
book
The R Book, 2nd Edition
Hugely successful and popular text presenting an extensive and comprehensive guide for all R users The …
book
The R Book
The highlevel language of R is recognized as one of the most powerful and flexible statistical …
book
The Book of R
The Book of R is a comprehensive, beginnerfriendly guide to R, the world's most popular programming …
book
R AllinOne For Dummies
A deep dive into the programming language of choice for statistics and data With R AllinOne …