Posts by Jefferson Emanuel • 21 points
1 post
-
2
votes3
answers21039
viewsA: How do I exclude a set of specific lines, listed in a vector, from a data frame in R?
Use the dplyr(): Import packages library(dplyr) Sample Data Frame df <- data.frame(a = 1:5, b = 1:5) removing line 1 and 2, for example: df <- df %>% slice(3:n())…
ranswered Jefferson Emanuel 21