# 2 sampled ks test in r

I need to do a two-sample Kolmogorov-Smirnov (KS) test in R, only I don't understand the formulae and how it works when I look it up. I suspect this is because I don't understand the maths of what goes on in this test and just know whether it will tell me if the data are normally distributed or not.

Any help given (about the formulae, interpretation, and even the usage in R) would be brilliant.

• I'm confused what your question is. See the other questions with the same kolmogorov-smirnov tag for plenty of examples and discussion on how to interpret the test, e.g. this example is pretty straightforward and provides an example in R. – Andy W Aug 20 '14 at 12:38