title: Define model with ipred package
body: <p>I work with the <code>ipred</code> package and use the <code>errorest</code> function to estimate the 10 fold cross validated error. But I want to specify the used model, beacuse I do not know what is done by using the predefined model, by setting model = svm.</p>
  
  <pre><code>require(ipred)
  require(e1071)
    cv.error.svm =  errorest(y~ ., data=data, model=svm, estimator = "cv")
  </code></pre>
  
  <p>How can I define the svm function as shown in the help (?svm) as shown below? </p>
  
  <pre><code>svm(x, y = NULL, scale = TRUE, type = NULL, kernel =
  "radial", degree = 3, gamma = if (is.vector(x)) 1 else 1 / ncol(x),
  coef0 = 0, cost = 1, nu = 0.5,...)
  </code></pre>
  
  <p>Thanks in advance</p>