An R Introduction to Statistics

data.frame

Data Frame

A tutorial on the concept of data frames in R. Using a build-in data set sample as example, discuss the topics of data frame columns and rows. Explain how to retrieve a data frame cell value with the square bracket operator. Plus a tips on how to take preview of a data frame.