Description Usage Arguments Details Value References See Also Examples
First and second digit probabilities, as postulated by Benford's law.
1 | benford(d)
|
d |
Numeric vector of length 1. Admissible values: 1 or 2. |
Benford’s law is an empirical regularity regarding the occurrence of digits in numbers that was first introduced by \insertCitenewcomb1881note;textualdaubl and later popularized and supported with empirical evidence by \insertCitebenford1938;textualdaubl. The formulas that give Benford's law first and second digit probabilities can be consulted in \insertCitehill1995derivation;textualdaubl.
benford(1)
returns a numeric vector of length 9.
benford(2)
returns a numeric vector length 10.
msdigit
to obtain the most significant digits of numbers.
smsdigit
to obtain the second most significant digits of numbers.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.