qbenf {BenfordTests}R Documentation

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 "table" containing the expected quantile function of Benford's distribution with a given number of digits.

Author(s)

Dieter William Joenssen Dieter.Joenssen@googlemail.com

References

Benford, F. (1938) The Law of Anomalous Numbers. Proceedings of the American Philosophical Society. 78, 551–572.

See Also

pbenf; rbenf

Examples

qbenf(1)

qbenf(1)==cumsum(pbenf(1))

[Package BenfordTests version 1.2.0 Index]