Learn R Programming

BenfordTests (version 0.5)

qbenf: Quantile Function for Benford's Distribution

Description

Returns the complete quantile function for Benford's distribution with a given number of first digits.

Usage

qbenf(digits = 1)

Arguments

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

Value

  • Returns an object of class "code{table}" containing the expected quantile function of Benford's distribution with a 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{pbenf}; code{rbenf} } keyword{ distribution }