# NOT RUN {
# 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)
# }
Run the code above in your browser using DataLab