title: NA/NaN values in bnlearn package R
body: <p>I am using the <code>bnlearn</code> package in R to handle large amounts of data in <code>Bayesian networks</code>. The variables are discrete and have more than 3 million observations. 
  With <code>bn.fit</code> function I could easily get the conditional probability distribution. However, some variables have unobserved values ​​(i.e., NA or NaN). </p>
  
  <p>In some tests, I've got this: </p>
  
  <pre><code>nw.fit &lt;-bn.fit (nw, date, method = 'bayes') 
  
  Error in check.data (date): the data set contains NULL/NaN/NA values​​. 
  </code></pre>
  
  <p>So, 
  how could I deal with the data and get the conditional probability distribution?</p>
  
  <p>Could someone help me?</p>
  
  <p>Thanks!</p>