title: Removing certain values from the dataframe in R
body: <p>I am not sure how I can do this, but what I need is I need to form a cluster of this dataframe <code>mydf</code> where I want to omit the <code>inf</code>(infitive) values and the values greater than 50. I need to get the table that has no <code>inf</code> and no values greater than 50. How can I get a table that contains no <code>inf</code> and no value greater than 50(may be by nullifying those cells)?  However, For clustering part, I don't have any problem because I can do this using mfuzz package. So the only problem I have is that I want to scale the cluster within 0-50 margin.  </p>
  
  <p>mydf</p>
  
  <pre><code>   s.no       A        B       C       
      1         Inf     Inf      999.9
      2         0.43    30       23
      3         34      22       233           
      4         3       43       45 
  </code></pre>