title: Problems with ks.test and ties
body: <p>I have a distribution, for example:</p>
  
  <pre><code>d 
  #[1]  4 22 15  5  9  5 11 15 21 14 14 23  6  9 17  2  7 10  4
  </code></pre>
  
  <p>Or, the vector <code>d</code> in <code>dput</code> format.</p>
  
  <pre><code>d &lt;- c(4, 22, 15, 5, 9, 5, 11, 15, 21, 14, 14, 23, 6, 9, 17, 2, 7, 10, 4)
  </code></pre>
  
  <p>And when I apply the ks.test,:</p>
  
  <pre><code>gamma &lt;- ks.test(d, "pgamma", shape = 3.178882, scale = 3.526563) 
  </code></pre>
  
  <p>This gives the following warning:</p>
  
  <blockquote>
    <p>Warning message:
    In ks.test(d, "pgamma", shape = 3.178882, scale = 3.526563) :
    ties should not be present for the Kolmogorov-Smirnov test</p>
  </blockquote>
  
  <p>I tried put <code>unique(d)</code>, but obvious my data reduce the values and I wouldn't like this happen.<br>
  And the others manners and examples online, this example happen too, but the difference is the test show some results with the warning message, not only the message without values of <code>ks.test</code>.</p>
  
  <p>Some help?</p>