title: Kolmogorov-Smirnov One Sample Test
body: <pre><code>vect&lt;-c(58,59,67,68,68,68,70,70,70,70,74,75,76,78,80,80,82,82,83,84,84,84,86,88,90,90,90,90,92,93,94,97,98,104,110,112)
  ks.test(vect, "pnorm", 85, 15)
  </code></pre>
  
  <p>I used the following code, but it shows something like this:</p>
  
  <pre><code>#"Warning message:
  #In ks.test(vect, "pnorm", 85, 15) :
  #ties should not be present for the Kolmogorov-Smirnov test"
  </code></pre>
  
  <p>and the computed answer given by the book, D, is not the same with the one given above.
  I just tried to code what's given in my book.</p>