Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- data[setdiff(1:nrow(data), which(data$VAL <= 5)), ]
- # or
- data %>% .[setdiff(1:nrow(.), which(.$VAL <= 5)), ]
- # or
- data %$% {
- tmp = VAL <= 5
- tmp[is.na(tmp)] = FALSE
- tmp
- } %>% not %>% data[., ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement