title: Selecting rows with row means greater than the overall mean of a data frame
body: <p>Can we do this thing without <code>dplyr</code>? I want to select those rows which have their rowmeans greater than the overall mean of the dataframe.</p>
  
  <p>I have tried to use the function but it does not work.</p>
  
  <pre><code>tf12 &lt;- apply(tf11, 2, function(x) filter(rowMeans(x) &gt; mean(x)))
  </code></pre>
  
  <p>It gives the following error.</p>
  
  <pre><code>Error in rowMeans(x) : 'x' must be an array of at least two dimensions
  </code></pre>