calcInitialDigitDistr: Generate a frequency count of the initial digits

View source: R/explore.R

calcInitialDigitDistrR Documentation

Generate a frequency count of the initial digits

Description

In the context of Benford's Law calculate the distribution of the frequencies of the first digit of the numbers supplied as the argument.

Usage

calcInitialDigitDistr(l, digit=1, len=1,
 sp=c("none", "positive", "negative"))

Arguments

l

a vector of numbers.

digit

the digit to generate frequencies for.

len

The number of digits.

sp

whether and how to split the digits.

Author(s)

Graham.Williams@togaware.com

References

Package home page: https://rattle.togaware.com


rattle documentation built on March 21, 2022, 5:06 p.m.