We define factors, levels, and data frames, using the CO2 (Carbon Dioxide Uptake in Grass Plants) built-in R example:

R code or the video about these definitions

We continue to use the CO2 data set, and we introduce the tapply function:

R code or the video about tapply

We continue to explore tapply using the iris data; we group a vector of numerical values to create a factor:

R code or the video with iris example

We give an example with dice, using the tapply function:

R code or the video with dice example

We give an example with the geyser data, using the tapply function; again we turn a vector of integers into a factor, using grouping:

R code or the video with geyser data

We use the mtcars data to showcase the use of the length function in the tapply (just like the table function):

R code or the video with mtcars data

We use the airquality data set to deal with NA values in the tapply:

R code or the video with airquality data

The Center for Coastal Margin Observation and Predication makes a great deal of data publicly available; we use it to explore importing and exporting data:

R code or the video with CMOP data

We continue to explore CMOP's data, including a brief explore of finding and dealing with an outlier in a large data set:

R code or the another video with CMOP data