MAD: Gets the MAD of a Benford object

Description Usage Arguments Value Examples

View source: R/get.functions.R

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

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