title: Caret and rpart - definining method
body: <p>i am trying to familiarize myself with the caret package. I would previously use rpart directly - e.g. with the following syntax </p>
  
  <pre><code>fit_rpart=rpart(y~.,data=dt1,method="anova"). 
  </code></pre>
  
  <p>i have specified anova as i am aiming for regression (rather than classification)</p>
  
  <p>with caret - i would the following syntax:</p>
  
  <pre><code>rpart_fit &lt;- train(y ~ ., data = dt1, method = "rpart",trControl=fitControl)
  </code></pre>
  
  <p>my question is, as the method slot is already used, where/how can i still specify method="anova"? </p>
  
  <p>Many thanks in advance! </p>