drop_duplicate_fields {jwutil} | R Documentation |
Compares all data in each field to every other field, and drops the latter match. Will find multiple matches. Doesn't do any type conversions yet. This is purely by content, not by field name.
drop_duplicate_fields(df, verbose = FALSE) dropDuplicateFields(df, verbose = FALSE)
df |
data.frame |
verbose |
single logical value, if |
data frame without duplicate fields
dropDuplicateFields
: Deprecated
d <- data.frame(LETTERS, letters, letters)[1:10, ] drop_duplicate_fields(d)