title: Why does summary() give a different maximum to max()
body: <p>using R-2.15.2 on Windows XP I get a different maximum from <code>summary()</code> than from <code>max()</code>.
  Why is that so?</p>
  
  <p>Here is the relevant code:</p>
  
  <pre><code>&gt; class(dat)
  [1] "data.frame"
  &gt; dim(dat)
  [1] 3850   54
  &gt; summary(dat$enrol)
     Min. 1st Qu.  Median    Mean 3rd Qu.    Max. 
      26     945    1744    3044    3128  183200 
  &gt; max(dat$enrol)
  [1] 183151
  </code></pre>
  
  <p>Any ideas why <code>summary()</code> rounds the result up?</p>
  
  <p>Best 
  Oliver</p>