BeyondBenford (version 1.0)

Blon.val: Blondeau Da Silva's values

Description

The function returns Blondeau Da Silva's probability that a figure is at a given position (once the associated upper bound has been specified).

Usage

Blon.val(upbound, fig, dig = 1)

Arguments

upbound

A positive integer, which characterizes the data. All (or most) of the data are lower than this "upper bound".

fig

The considered figure.

dig

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

Value

The function returns Blondeau Da Silva's probability.

References

S. Blondeau Da Silva (2018). Benford or not Benford: a systematic but not always well-founded use of an elegant law in experimental fields. https://arxiv.org/abs/1804.06186.

S. Blondeau Da Silva (2018). Benford or not Benford: new results on digits beyond the first. https://arxiv.org/abs/1805.01291.

Examples

Run this code
# NOT RUN {
Blon.val(825, 5, dig = 3)

# }

Run the code above in your browser using DataLab