This function checks for duplicate rows in a data frame.
Details
This function checks for duplicate rows by comparing each row in the data frame to every other row. If a row is identical to another row, it is considered a duplicate.
See also
Other Utility:
core_packages(),
create_splits(),
create_workflow_set(),
fast_classification_parsnip_spec_tbl(),
fast_regression_parsnip_spec_tbl(),
full_internal_make_wflw(),
install_deps(),
load_deps(),
match_args(),
quantile_normalize()
Examples
data <- data.frame(
x = c(1, 2, 3, 1),
y = c(2, 3, 4, 2),
z = c(3, 2, 5, 3)
)
check_duplicate_rows(data)
#> [1] FALSE TRUE FALSE FALSE
