Skip to content
KnowledgeCity

R Programming: Data Manipulation

Learn the essentials of data filtering, subsetting, and summarizing in base R
Preview the first lesson free — get full access to all 4 lessons.
Course: On-Demand
Beginner Provider David Christensen  4 Lessons ·  29m  in Arabic, German, English, Spanish, French, Portuguese, Chinese 

Course Description

In these lessons, you will learn the essential techniques of data filtering, subsetting, and summarizing in the R language. We’ll will start with the basics of filtering data using base R functions such as head() and tail(), and then progress to more advanced topics such as bracketed filtering and combining multiple filters together.

You will also learn essential techniques for summarizing data using base functions such as table(), summary(), sum(), mean(), quantile(), and how to use these functions to extract insights from your data. We’ll cover how to work with missing data in R, including strategies for removing, replacing, or subsetting it, and you will also learn how to use brackets [] to subset columns and rows, and how to manipulate and transform data in R to prepare it for analysis.

What You'll Learn

  • Filter data in base R using functions such as head() and tail()
  • Apply bracketed filtering and combine multiple filters to extract insights from your data
  • Summarize data using base functions such as table(), summary(), sum(), mean(), and quantile()
  • Handle missing data in R by removing, replacing, or subsetting it
  • Use brackets [] to subset columns and rows
  • Manipulate and transform data in R to prepare it for analysis

Key Takeaways

  • The course covers the essential techniques of data filtering, subsetting, and summarizing in the R language.
  • Filtering progresses from basic base R functions such as head() and tail() to bracketed filtering and combining multiple filters.
  • Base functions including table(), summary(), sum(), mean(), and quantile() are used to summarize data and extract insights.
  • Working with missing data in R includes strategies for removing, replacing, or subsetting it.
  • Brackets [] are used to subset columns and rows when manipulating and transforming data for analysis.

Frequently Asked Questions

What will I learn in this course?

You will learn the essential techniques of data filtering, subsetting, and summarizing in base R, including how to combine multiple filters and use base functions such as table(), summary(), sum(), mean(), quantile(), and head() to summarize data.

Does this course cover handling missing data?

Yes. It covers how to work with missing data in R, including strategies for removing, replacing, or subsetting it.

What topics are included in the lessons?

The lessons cover Introduction to Filtering, Combining Multiple Filters, Summarizing Data, and Missing Data.

What skills does this course help build?

It helps build skills in data manipulation, data processing, data blending, working with data frames, and the R programming language including R Base.