powered by
It calculates the probability of a digit sequence "d".
p.these.digits(d)
a digit sequence, like 1234 ou 999999.
The probability of the sequence d.
# NOT RUN { p.these.digits(1) # 0.30103 p.these.digits(11) # 0.03778856 p.these.digits(999999) # 4.342947e-07 # }
Run the code above in your browser using DataLab