kcf_dup: Indicators for duplicated rows

View source: R/kcf_dup.R

kcf_dupR Documentation

Indicators for duplicated rows

Description

Generate columns with count of occurrences, tag for duplication, and running count of occurrences. Speedboost via tidytable.

Usage

kcf_dup(data, dupvar)

Arguments

data

The data frame to examine for duplicates

dupvar

The variables to check for duplicates

Value

A data frame with counts per group, tag of whether duplicated, counter within group.

Examples

## Not run: 
kcf_dup(mtcars, c(vs))
kcf_dup(mtcars, c(vs, am))

## End(Not run)

kennchua/kctools documentation built on Aug. 28, 2024, 8:37 a.m.