p.these.digits {benford.analysis}R Documentation

Probability of a digit sequence

Description

It calculates the probability of a digit sequence "d".

Usage

p.these.digits(d)

Arguments

d

a digit sequence, like 1234 ou 999999.

Value

The probability of the sequence d.

Examples

p.these.digits(1) # 0.30103
p.these.digits(11) # 0.03778856
p.these.digits(999999) # 4.342947e-07

[Package benford.analysis version 0.1.5 Index]