Integer specifying the number of bootstrap replicates to use.
test
Character string specifying which goodness-of-fit test to use.
Current options include: "ks" for the Kolmogorov-Smirnov test,
"ad" for the Anderson-Darling test, and "cvm" for the
Cramer-Von Mises test. Default is "ks".
A numeric vector of class "gof", "numeric" containing the
simulated p-values.
Details
Under the null hypothesis, the distribution of the p-values should appear
uniformly distributed on the interval [0, 1]. This can be visually
investigated using the plot method. A 45 degree line is indicative of
a "good" fit.