Learn the basics of R, a programming language and free software environment for statistical computing and graphics.
A key feature of R is functions. Functions are “self contained” modules of code that usually take in some data, process it, and return a result.
In R, all types of data are treated as objects. Start creating some objects in R.
A vector is a sequence of data elements of the same basic type.
A matrix is a collection of data elements arranged in a two-dimensional rectangular layout.
A data frame is more general than a matrix, in that different columns can have different basic data types. Data frame is the most common data type we will be using.