benford_accounting: The counts and percentage of first digits for all data...

Description Usage Format Source Examples

Description

This data has to counts by first digit for the accounting data

Usage

1

Format

A data frame with columns:

data

The variable is character. The data object used to calculate digit counts

first

The variable is character. The first digit number

n

The variable is integer. The count of numbers that started with that digit

percent

The variable is numeric. The percent of the total for each data and country group

benford_percent

The variable is numeric. The expected propoprtion under Benford's law

Source

https://github.com/carloscinelli/benford.analysis and https://www.amazon.com/Benfords-Law-Applications-Accounting-Detection/dp/1118152859

Examples

1
2
3
4
## Not run: 
benford_accounting

## End(Not run)

byuidatascience/data4benfords documentation built on May 6, 2020, 10:10 p.m.