1

Getting Started with R

In this chapter, we will cover the basics of R, the most widely used open source language for statistical analysis and modeling. We will start with an introduction to RStudio, how to perform simple calculations, the common data structures and control logic, and how to write functions in R.

By the end of the chapter, you will be able to do basic computations in R using common data structures such as vectors, lists and data frames in the RStudio integrated development environment (IDE). You will also be able to wrap these calculations in functions using different methods.

In this chapter, we will cover the following:

  • Introducing R
  • Covering the R and RStudio basics
  • Common data structures in R
  • Control logic in R
  • Exploring ...

Get The Statistics and Machine Learning with R Workshop now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.