ABSTRACT

This chapter helps the readers to learn to open a data file in R. RStudio is the interface we use to work with R. The chapter looks at RStudio and provides some brief code to load in some crime data and start exploring it. A function is a bunch of code that has been assigned to an object. Downloading a package through R code uses - like pretty much everything else in R - a function. The summary() function gives a six-number summary of each numeric or Date column in the data. The six values it returns for numeric and Date columns are: the minimum value, the value at the 1st quartile, the median value, the mean value, the value at the 3rd quartile, and the max value.