Learn R Programming

benford.analysis (version 0.1.5)

getDuplicates: 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

Run this code
# NOT RUN {
data(census.2000_2010) #gets data
c2010 <- benford(census.2000_2010$pop.2010) #generates benford object
duplicates <- getDuplicates(c2010, census.2000_2010)
# }

Run the code above in your browser using DataLab