dfactor: Gets the Distortion Factor of a Benford object

Description Usage Arguments Value Examples

Description

It gets the Distortion Factor of a Benford object. See the section value of benford.

Usage

1
dfactor(bfd)

Arguments

bfd

an object of class "Benford". See benford.

Value

The distortion factor.

Examples

1
2
3
data(corporate.payment) #gets data 
cp <- benford(corporate.payment$Amount) #generates benford object
dfactor(cp) # equivalent to cp$distortion.factor

Example output

[1] -1.065467

benford.analysis documentation built on May 2, 2019, 10 a.m.