View source: R/digit_probability.R
prob_first_digit | R Documentation |
Calculate the probability of a first digit according to Benford's Law.
prob_first_digit(digit)
digit |
An integer ranging from 1-9. |
# to get Benford's law expected digit distribution: prob_first_digit(1:9)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.