flowchart LR
A((Objects)) --> B((Functions)) --> C((Operators))
linkStyle default stroke:#adb5bd,stroke-width:2px
R Basics
Welcome
In this tutorial, we will cover the basics of R needed for all other tutorials. Once done, you should understand Objects, Functions, and Operators. Having a firm understanding of these concepts are necessary building blocks for more advanced work in R.
Use the sidebar or the Next button at the bottom of each page to work through the tutorial in order.
Commands used in this tutorial
| Command | Purpose |
|---|---|
<- |
Assignment — create objects |
c() |
Concatenate values into a vector |
data.frame() |
Create a dataframe |
# |
Comment — R ignores this line |
class() |
Check an object’s class |
$ |
Access a column in a dataframe |
str() |
View an object’s full structure |
When you’re ready, click Next below to begin with Objects.