Learn R Programming

benford.analysis (version 0.1.3)

getData: Gets the data used of a Benford object

Description

It gets the lines, values, mantissa and first digits of the data used of a Benford object . See the section value of benford.

Usage

getData(bfd)

Arguments

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

Value

  • A data.frame with the lines, values, mantissa and first digits of the data.

Examples

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

Run the code above in your browser using DataLab