


Once we are finished working with this data set, we can use the detach() command to remove this data set from the working memory. For example, the above can then be accomplished by: If we don't want to keep using the "$" sign to point to the data set, we a can use the attach command to keep the data set as the current or working one in R, and then just call the variables by name. Similarly, we can compute the median Temp: Recall that we can compute the mean Temp by "extracting" the variable Temp from the dataset using the $ function as follows: To recall the components of the data set, print out the first 5 rows. We will continue this with the airquality data.
#Summary r studio series#
The first module in this series provided an introduction to working with datasets and computing some descriptive statistics.
