title: How to remove NA from each row
body: <p>I have the following data:</p>
  
  <pre><code>data = structure(c(NA, NA, 42.5118650772641, 14.5479065259077, -1.8082256603085, 
  23.5107343175811, 53.5663302164282, 29.9776538834842, -3.86496086519614, 
  29.0845645318778, 97.3528292018692, 23.3881957633757, 54.8844183666383, 
  28.4301700493692, 3.53001924175695, 15.8256931567166, 23.6987392522877, 
  12.1185979190016, 2.48432380993373, 23.1776787033568, 30.0735375165638, 
  10.6297705564003), .Dim = c(2L, 11L))
  </code></pre>
  
  <p>And I need to eliminate each NA element in the rows.
  If I try to do</p>
  
  <pre><code>rem_NA =  data[!is.na(data)]
  </code></pre>
  
  <p>It will delete the NAs, but i will obtain a vector, but I don't want to lose the matrix form.</p>
  
  <p>the output i would like to have is equal to:</p>
  
  <pre><code>data1 = data[,-1]
  </code></pre>