getDuplicates {benford.analysis}R Documentation

Gets the duplicates from data

Description

It gets the duplicates from the original data.

Usage

getDuplicates(bfd, data, how.many=2)

Arguments

bfd

an object of class "Benford". See benford.

data

the original data used for the benford analysis.

how.many

how many groups of duplicates to get.

Value

The duplicates from the original data.

Examples

data(census.2000_2010) #gets data
c2010 <- benford(census.2000_2010$pop.2010) #generates benford object
duplicates <- getDuplicates(c2010, census.2000_2010)

[Package benford.analysis version 0.1.5 Index]