title: 1-Dimensional (1D) Plotting using SVM (e1071)
body: <p>I'm trying to do 1D SVM plotting using e1071 package in R. </p>
  
  <p>I am new to this so I not sure whether the issue is that the e1071 package do not support 1D plotting (since I could not locate any 1D plotting information here: <a href="http://www.inside-r.org/node/57517" rel="nofollow noreferrer">http://www.inside-r.org/node/57517</a>, <a href="http://www.inside-r.org/packages/cran/e1071/docs/plot.svm" rel="nofollow noreferrer">http://www.inside-r.org/packages/cran/e1071/docs/plot.svm</a>) or there is something wrong with my formula here.</p>
  
  <pre><code>library(e1071)
  data&lt;-iris[,4:5]
  #using subset of iris as data with Species as label
  model&lt;-svm(Species~.,data)
  
  plot(model,data)
  Error in plot.svm(model, data) : missing formula.
  
  plot(model,data,Petal.Width~.)
  Error in Summary.factor(c(1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L,  : min not meaningful for factors
  </code></pre>
  
  <p>Thank you.</p>
  
  <p><strong>Update</strong></p>
  
  <p>I saw this <a href="https://stackoverflow.com/a/1143173/5413930">answer</a> which is saying that the 1D plotting is not supported in e1071. Since this answer is posted years ago, I wonder whether the 1D plotting is still not supported now. </p>