benfordClass: Benford's Law Analysis

benfordClassR Documentation

Benford's Law Analysis

Description

This function performs a Benford's Law analysis on a numeric variable. It returns the Benford's Law distribution and a list of potential suspects.

Details

The Benford's Law analysis is a test to determine if the distribution of the first digits of a numeric variable follows Benford's Law. The Benford's Law distribution is compared to the observed distribution of the first digits of the variable. The analysis returns a list of potential suspects that deviate significantly from Benford's Law.

Value

A list with the Benford's Law distribution and a list of potential suspects.

A list with the Benford's Law distribution and a list of potential suspects.

Super classes

jmvcore::Analysis -> ClinicoPath::benfordBase -> benfordClass

Methods

Public methods

Inherited methods

Method clone()

The objects of this class are cloneable with this method.

Usage
benfordClass$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


sbalci/ClinicoPathJamoviModule documentation built on June 13, 2025, 9:34 a.m.