Dataframes in R
Learning to work with data structures is critical for programming in R. Data structures are essential concepts in programming because efficient data storage and operartions rely on them.
In this fourth lesson of our interactive Data Structures in R course, you will continue adding to your R programming skills as you learn about dataframes and they're used for data analysis in R
Throughout this course, we've learned about different data structures available to us in R. Matrices and their use for storing numbers in an organized structure, and how lists are useful for keeping data of different types together in the same data structure. As we approach the end of this course, we'll explore an essential data structure for analysis. In this mission, we'll learn how to deal with tabular data, and the tidyverse's special data structure for tabular data: the tibble.
After you finish this lesson, you will be comfortable working with dataframes and it will be very clear how tibbles will be a criticial component of your data analysis work in R.
- Getting Familiar with the Data
- Selecting Columns
- Filtering Rows
- Piping with the %>% Operator
- Creating New Columns
- Sorting Data
- Summarizing Data
- Using Tibble Columns as Vectors
- Next Steps