signifd.seq: Sequence of Possible Leading Digits

Description Usage Arguments Value Author(s) Examples

View source: R/Benford_tests.R

Description

Returns a vector containing all possible significant digits for a given number of places.

Usage

1
signifd.seq(digits = 1)

Arguments

digits

An integer determining the number of first digits to be returned, i.e. 1 for 1:9, 2 for 10:99 etc.

Value

Returns an integer vector.

Author(s)

Dieter William Joenssen Dieter.Joenssen@googlemail.com

Examples

1
2
3
4
5
signifd.seq(1)
seq(from=1,to=9)==signifd.seq(1)

signifd.seq(2)
seq(from=10,to=99)==signifd.seq(2)

BenfordTests documentation built on May 1, 2019, 8:07 p.m.