Benf.val: Benford's values

Description Usage Arguments Value Author(s) References Examples

View source: R/Benf.val.R

Description

The function returns Benford's probability that a figure is at a given position.

Usage

1
Benf.val(fig, dig = 1)

Arguments

fig

The considered figure.

dig

The chosen position of the digit (from the left).

Value

The function returns Benford's probability.

Author(s)

Blondeau Da Silva St\'ephane

References

F. Benford (1938). The law of anomalous numbers. Proceedings of the American Philosophical Society, 78:127-131.

T. Hill (1995). The significant-digit phenomenon. The American Mathematical Monthly, 102(4):322-327.

R. Newcomb (1881). Note on the frequency of use of the different digits in natural numbers. American Journal of Mathematics, 4:39-40.

Examples

1
Benf.val(7, dig = 2)

BeyondBenford documentation built on July 25, 2020, 1:06 a.m.