Created
June 25, 2019 11:58
-
-
Save PietrH/0b06b4e5842f820aedf76dbc7bf6eb3a to your computer and use it in GitHub Desktop.
Keep only distinct rows of a single column in a dataframe in R, but return all columns of these rows
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(dplyr) | |
distinct(DataFrame,Column_To_Filter_On,.keep_all = TRUE) %>% | |
view('Dataframe distinct') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment