Filtering Rows using filter()

Data Science with R Programming 6 min min read Updated: Mar 07, 2026 Beginner
Filtering Rows using filter()
Beginner Topic 3 of 10

Filter Function

The filter() function extracts rows that match specific conditions.

r filter(mtcars, mpg > 20)

Next Tutorial: mutate() Function

Get Newsletter

Subscibe to our newsletter and we will notify you about the newest updates on Edugators