I am looking for some way to delete specific rows by row numbers using dplyr's pipe function
library(dplyr)
head(mtcars)
Now let say I want remove row numbers c(1, 4, 7). Typically we would use mtcars[-c(1, 4, 7), ] to do the same.
However I want to use pipe to do the same.
Is there any way to do this?
Any pointer will be highly appreciated.