Description Usage Arguments Value Examples
View source: R/get.functions.R
It creates a data frame with the first digits and the differences from Benford's Law in decreasing order.
1 | suspectsTable(bfd, by="absolute.diff")
|
bfd |
an object of class "Benford". See |
by |
a character string selecting how to order the digits.It can be 'abs.excess.summation','difference','squared.diff' or 'absolute.diff'. |
A data frame with 2 variables: digits and the group chosen in by.
1 2 3 | data(corporate.payment) #gets data
cp <- benford(corporate.payment$Amount) #generates benford object
suspectsTable(cp)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.