if (FALSE) {
# Do a Pearsonian test using 10000 simulations and summarise the distribution
# of the statistic under the null hypothesis
test <- tdt.quad(hap.use, nsim=10000, keep=T)
test
summary(test$sim)
}
Run the code above in your browser using DataLab