run gof tests for discrete data
gof_disc(x, pnull, rnull, vals, phat, TS, typeTS, TSextra, rate = 0, B = 5000L)
A matrix of numbers
an integer vector of counts
cumulative distribution function under the null hypothesis
R function (generate data under null hypothesis)
numeric vector of values of discrete random variables.
function to estimate parameters
function that calculates test statistics
type of test statistic
list passed to TS, if desired
=0, rate of sample size, if random
(=5000) Number of simulation runs