digitTests-package {digitTests} | R Documentation |
digitTests
is an R package providing tests for detecting irregular data patterns.
The package and its analyses are also implemented with a graphical user interface in the Audit module of JASP, a free and open-source statistical software program.
Koen Derks (maintainer, author) | <k.derks@nyenrode.nl> |
Please use the citation provided by R when citing this package.
A BibTex entry is available from citation("digitTests")
.
Useful links:
The issue page to submit a bug report or feature request.
# Load the digitTests package
library(digitTests)
############################################
### Example 1: Benford's Law ####
############################################
data('sinoForest')
distr.test(sinoForest$value, check = 'first', reference = 'benford')
###################################
### Example 2: Repeated Values ####
###################################
data('sanitizer')
rv.test(sanitizer$value, check = 'lasttwo', method = 'af', B = 1000)