signifd.seq {BenfordTests}R Documentation

Sequence of Possible Leading Digits

Description

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

Usage

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

signifd.seq(1)
seq(from=1,to=9)==signifd.seq(1)

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


[Package BenfordTests version 1.2.0 Index]