Learn R Programming

benford.analysis (version 0.1.3)

getBfd: Gets the the statistics of the first Digits of a benford object

Description

It gets the statistics of the first digits (Frequencies, Squared Differences, Absolute Differences etc). See the section value of benford.

Usage

getBfd(bfd)

Arguments

bfd
an object of class "Benford". See benford.

Value

  • A data.frame with first digits and their statistics.

Examples

Run this code
data(corporate.payment) 
cp <- benford(corporate.payment$Amount) #generates benford object
getBfd(cp) # equivalent to cp$bfd

Run the code above in your browser using DataLab