filter() in R
dplyr package provides a general framework for the manipulation of data frames in R.
filter function is used for selecting rows that match specific criteria. dplyr package has a standard format: the first argument is a dataframe and the remaining arguments describe what to do to the dataframe.