title: How to calculate a mean value from multiple maximal values
body: <p>I have a variable e.g. <code>c(0, 8, 7, 15, 85, 12, 46, 12, 10, 15, 15)</code></p>
  
  <p>how can I calculate a mean value out of random maximal values in R?</p>
  
  <p>for example, I would like to calculate a mean value with three maximal values?</p>