dfactor: Gets the Distortion Factor of a Benford object

Description Usage Arguments Value Examples

View source: R/get.functions.R

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

carloscinelli/benford.analysis documentation built on Aug. 26, 2019, 8:08 a.m.