extract_duplicate_records: Extract Duplicate Records

Description Usage Arguments Author(s) Examples

View source: R/duplicates.R

Description

Extract Duplicate Records

Usage

1
extract_duplicate_records(dataset, by_vars)

Arguments

dataset

A data frame

by_vars

A list of variables created using vars() identifying groups of records in which to look for duplicates

Author(s)

Thomas Neitmann

Examples

1
2
3
4
5
6
data(adsl)

# Duplicate the first record
adsl <- rbind(adsl[1L, ], adsl)

extract_duplicate_records(adsl, vars(USUBJID))

epijim/admiral documentation built on Feb. 13, 2022, 12:15 a.m.