Book An Introduction to R

Our book An introduction to R is designed to help you learn R: The Statistical Programming Language. Regardless of your background or specialty; science, business, engineering, or social science, you’ll find this book a starting point for learning about Data Science, that is, Data Analysis, Data Visualization, and Data Management. The book An Introduction to R is not aimed at any particular educational level and should be accessible to anyone who wants to learn R, a powerful and flexible analytical toolbox.

The book An Introduction to R covers a range of topics including: importing/exporting data, summarizing data, visualizing data, data analysis (including: regression, ANOVA, and association), and programming functions.

Learning about data is important in many academic and business settings, and R is a powerful and flexible programming language that is used widely. The book An Introduction to R will help you learn the R language and will also act as a useful reference, which you can refer to again and again.

View the book support pages

Book Overview - An Introduction to R

In An Introduction to R the chapters are laid out in what I thought was a sensible order, however it is nearly impossible to take a straight path and some ducking and diving was necessary at times. I hope you find the layout reasonably logical. Each chapter in An Introduction to R has a brief introduction giving an idea of what’s to follow. Each chapter ends with a concise summary and some simple exercises (answers in the Appendix). I have tried to include plenty of examples and all the data is from within R itself, so there is no need to download anything else.

However, head to the Tips & Tricks page and look for the “Introduction-to-R” category for additional material that didn’t quite make the book.


Notes and Tips: At various points you’ll see Note and Tip sections, giving some explicit information that I felt was important at the time.


Key features.

  • Useful for beginners and also as a reference for more seasoned veterans.
  • Plenty of examples throughout, as well as additional notes and tips.
  • Chapter summaries in concise table format help the book to be used as an ongoing reference work.

Essentials Covered in this Book

In this book An Introduction to R you will learn how to use the R programming language. You’ll learn how to get started with R, in particular:

  • Making and Importing Data items.
  • Exporting Data.
  • Managing and Manipulating Data objects.
  • Summarizing and Aggregating Data.
  • Visualizing Data.
  • The basics of Data Analysis, including:
    • Differences tests.
    • Correlation.
    • Association.
    • Regression.
  • R Programming Functions.

The book An Introduction to R is intended as a foundation course in using R for Data Science and a springboard for further exploration into Data Analysis and Data Visualization. Not every R command is shown (there are so many!), and the emphasis is on those that the author deemed most useful. I apologize in advance if you are already an R user, and your favourite function is missing.

Some R functions have lots of potential arguments, and not all of these have been illustrated directly, in order to make the learning journey simpler. Only the most “helpful” arguments are shown but you will see clearly if there are additional parameters you might use (you’ll see how you can get additional information about these as you read the book).

Links and Support Articles

Buy this book online

My Publications

I have written several books on ecology and data analysis

An Introduction to R
Data Analysis and Visualisation
£35.00
Beginning R: The Statistical
Programming Language
£26.99
Statistics for Ecologists
Using R and Excel
£34.99
The Essential R
Reference
£44.99
Community
Ecology
£39.99
Managing Data
Using Excel
£24.99

Register your interest for our Training Courses

We run training courses in data management, visualisation and analysis using Excel and R: The Statistical Programming Environment. Courses will be held at one of our training centres in London. Alternatively we can come to you and provide the training at your workplace. Training Courses are also available via an online platform.




    Get In Touch Now

    for any information regarding our training courses, publications or help with a data project