Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ```
- Line <- c(seq(from = 1, length.out = 9, by = 421), 4211)
- Text <- c(rep(string, length.out = 9), "Plate 3")
- df <- data.frame(Line = Line,
- Text = Text )
- ```
- ```
- my_df <- data.frame(Line = c(2527, 2948, 3369),
- Text = c("Plate 1", "Plate 2", "Plate 3"))
- ```
- ```
- df %>% group_by(Text) %>% slice(unique(last(n())))
- ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement