powered by
It gets the original data from the 'suspicious' digits groups according to benford analysis.
getSuspects(bfd, data, by="absolute.diff", how.many=2)
an object of class "Benford". See benford.
benford
the original data used for the benford analysis.
a character string selecting how to order the digits.It can be 'abs.excess.summation','difference','squared.diff' or'absolute.diff'.
how many groups of digits to get.
The 'suspicious' observations from the original data.
# NOT RUN { data(lakes.perimeter) #gets data lk <- benford(lakes.perimeter[,1]) #generates benford object suspects <- getSuspects(lk, lakes.perimeter) # }
Run the code above in your browser using DataLab