plotBenfordsLaw {rattle}R Documentation

Plot a chart comparing Benford's Law with a supplied numeric vertor

Description

Plots a barchart of Benford's Law and the distribution of the frequencies of the first digit of the numbers supplied as the argument.

Usage

plotBenfordsLaw(l)

Arguments

l a vector of numbers to compare to Benford's Law.

Author(s)

Graham.Williams@togaware.com

References

Package home page: http://rattle.togaware.com

Examples

# A simple example using the audit data from Rattle.
data(audit)
plotBenfordsLaw(audit$Income)

[Package rattle version 2.2.91 Index]