How to filter rows in a dataframe: dplyr’s filter()

With dplyr’s filter() function, one can filter rows or subset rows from a dataframe. In this post, we will learn how to select subset of rows based on values one or more columns in a dataframe using dplyr’s filter() function. First we load tidyverse the suit of R packages. We will use world population dataset… Continue reading How to filter rows in a dataframe: dplyr’s filter()

Exit mobile version