Last active
August 6, 2019 19:03
-
-
Save jsaraviadrago/103b253211629b943fc9021ac7a12c3d to your computer and use it in GitHub Desktop.
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
#### Función para generar lista de duplicados #### | |
lisdup <- function(x,y) { | |
# Generar un listado de los duplicados | |
n_occur <- data.frame(table(x$y)) | |
n_occur[n_occur$Freq > 1,] | |
x[x$y %in% n_occur$Var1[n_occur$Freq > 1],] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment