ABSTRACT

This chapter covers the logistics as well as some of the very basic building blocks that are required to gain more advanced R skills. There are several datasets that are included for users to practice and test out functions. These datasets are objects that can be used by simply typing the name. Variables in R can be of different types. To work efficiently in R, it is important to learn the different types of variables and what we can do with these. The most common way of storing a dataset in R is in a data frame. A large proportion of data analysis challenges start with data stored in a data frame. Matrices are another type of object that are common in R. In R, the most basic objects available to store data are vectors. In general, coercion is an attempt by R to be flexible with data types.