Benford's Law
Prerequisites
This example builds on the benford.analysis and rattle package in r. If you don’t have the package installed you can type the following:
install.packages("benford.analysis")
install.packages("rattle")
To load the package you can type the following:
library(benford.analysis)
Basic example
The benford analysis package comes with a couple of datasets.