last_digit: The counts and percentage of last digits for all data objects

Description Usage Format Source Examples

Description

This data has to counts by last digit for the election, waitlist, and cities data

Usage

1

Format

A data frame with columns:

data

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

country

The variable is character. The location or group within each data object

last

The variable is character. The last digit number

n

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

percent

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

last_percent

The variable is numeric. The expected propoprtion under complete randomness

Source

https://github.com/midnightradio/cse140-data-programming, https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5942457/, and https://simplemaps.com/data/us-cities

Examples

1
2
3
4
## Not run: 
last_digit

## End(Not run)

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