title: Kolmogorov-Smirnov test
body: <p>I'm using the R function <code>ks.test()</code> to test the Uniform distribution of the R random number generator. I'm using the following code:
  <code>replicate(100000, ks.test(runif(n),y="punif")</code>.</p>
  
  <p>When <code>n</code> is less than or equal to 100 it works, but when <code>n</code> is greater than 100 I get the following Warning Message:</p>
  
  <pre><code>In ks.test(runif(100000), y = "punif") :
    ties should not be present for the Kolmogorov-Smirnov test.
  </code></pre>
  
  <p>What are those "ties"?</p>