Learn R Programming

BenfordTests (version 0.5)

pbenf: Distribution Function for Benford's Distribution

Description

Returns the complete Benford distribution function for a given number of first digits.

Usage

pbenf(digits = 1)

Arguments

digits
An integer determining the number of first digits for which the pdf is returned, i.e. 1 for 1:9, 2 for 10:99 etc.

Value

  • Returns an object of class "code{table}" containing the expected density of Benford's distribution for the given number of digits. } references{ Benford F. The law of anomalous numbers. Proceedings of the American Philosophical Society. 1938;78:551-572.cr } author{ Dieter William Joenssen email{Dieter.Joenssen@TU-Ilmenau.de} } seealso{ code{qbenf}; code{rbenf} } keyword{ distribution }