In this post, we will see how to subset a dataframe or select rows based on their position. We will first use dplyr’s slice() function to slice a dataframe by location and then show how to select rows by position using base R Let us load tidyverse suite of R packages including dplyr. We will… Continue reading How to Select Rows of a dataframe by position