title: Max-min Markov blanket feature selection: R code error
body: <p>I am using Max-min Markov blanket algorithm for variable selection in <code>R</code> from <code>MXM</code> package. Following is my code:</p>
  
  <pre><code>library(MXM)
  
  dataset = read.table('data.txt', na.string = c("", "NA"), sep = '\t', header = FALSE)
  dataset = dataset[, colSums(is.na(dataset)) == 0]
  D = as.matrix(as.data.frame(lapply(dataset, as.numeric)))
  target = read.table('class_num.txt')
  target = c(target)
  
  aa = mmmb(target, D, max_k = 3, threshold = 0.05, test = "testIndFisher", user_test = NULL, robust = FALSE, ncores = 2)
  </code></pre>
  
  <p>I am getting the following error:</p>
  
  <pre><code>Error in unique(as.numeric(target)) : 
  (list) object cannot be coerced to type 'double'
  </code></pre>
  
  <p>According to the <a href="https://www.rdocumentation.org/packages/MXM/versions/0.9.7/topics/The%20max-min%20Markov%20blanket%20algorithm" rel="nofollow noreferrer">mmmb manual page</a> my dataset <code>D</code> is a matrix of continuous value of dimension <code>(95933 x 85)</code> and my <code>target</code> is a vector of <code>[0, 1]</code> of size <code>95933</code>.</p>
  
  <p>Can someone help me understand the error?  </p>