Remove First Row of DataFrame in R
In this article, we are going to see how to remove the first row from the dataframe. We can remove first row by indexing the dataframe.
where -1 is used to remove the first row which is in row position
Example 1: R program to create a dataframe with 2 columns and delete the first row
Example 2: R program to create dataframe with 4 columns and delete the first row