title: R Remove row if column X is Na AND column B is not 'value'
body: <p>I relativity new R and R Stack Overflow, so forgive me for my poor explanation </p>
  
  <p>I am trying to remove all values with in the emp_length column that are Na AND the grade column with in the same row is equal to "C" OR "B" </p>
  
  <pre><code>fullData2_empData_rm &lt;- fullData2[!is.na(fullData2$emp_length) ,] 
            &amp;&amp; (fullData2$grade != 'B' || fullData2$grade != 'C')
  </code></pre>
  
  <p>So far I have been unsuccessful</p>
  
  <p>I have made a basic JavaScrip example, in case my explanation is not very good.</p>
  
  <p>Thanks </p>
  
  <pre><code>const remove (row) =&gt; {
    if(row.emp_length == null &amp;&amp; (row.grade == 'C' || row.grade == 'B'{
        removeRow()
    }else{
      keepRow()
    } 
  }
  </code></pre>