Learn R Programming

jwutil (version 1.2.3)

drop_duplicate_fields: Drop fields with duplicate data

Description

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.

Usage

drop_duplicate_fields(df, verbose = FALSE)

dropDuplicateFields(df, verbose = FALSE)

Arguments

df

data.frame

verbose

single logical value, if TRUE then produce verbose messages

Value

data frame without duplicate fields

Functions

  • dropDuplicateFields: Deprecated

Examples

Run this code
# NOT RUN {
d <- data.frame(LETTERS, letters, letters)[1:10, ]
drop_duplicate_fields(d)
# }

Run the code above in your browser using DataLab