I am teaching basic statistics, and I have to show step by step how a Kolmogorov-Smirnov test is performed. Therefore, I cannot simply do it with one function, like:
ks.test(data, distribution)
So, I need a quantile function to get the critical value for the test statistic (d) distribution. Does anyone know if such a function exists?
I am citing the wiki article on the Kolmogorov-Smirnov test:
Likely you will find something to calculate a cumulative density function in there. See the reference manual on CRAN.