MAD: Gets the MAD of a Benford object

Description Usage Arguments Value Examples

Description

It gets the Mean Absolute Deviation (MAD) of a Benford object. See the section value of benford.

Usage

1
MAD(bfd)

Arguments

bfd

an object of class "Benford". See benford.

Value

The MAD.

Examples

1
2
3
data(census.2000_2010) #gets data
c2010 <- benford(census.2000_2010$pop.2010) #generates benford object
MAD(c2010) #equivalent to c2010$MAD

Example output

[1] 0.001428017

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