You will learn how to identify and to remove duplicate data using R base and dplyr functions. This tutorial describes how to subset or extract data frame rows based on certain criteria. Additionally, we'll describe how to subset a random number or fraction of rows. You will also learn how to remove rows with missing values in a given column. You will learn how to select data frame columns by names and position. We’ll also show how to remove columns from a data frame.