title: adabag boosting function throws error when giving mfinal>10
body: <p>I have a strange issue, whenever I try increasing the mfinal argument in boosting function of adabag package beyond 10 I get an error, Even with mfinal=9 I get warnings.</p>
  
  <p>My train data has 7 class Dependant variable and 100 independant variables and around 22000 samples of data(Smoted one class using DMwR). My Dependant Variable is at the end of the training dataset in sequence.</p>
  
  <pre><code>library(adabag)
  gc()
  exp_recog_boo &lt;- boosting(V1 ~ .,data=train_dataS,boos=TRUE,mfinal=9)
  
  Error in 1:nrow(object$splits) : argument of length 0
  In addition: Warning messages:
  1: In acum + acum1 :
  longer object length is not a multiple of shorter object length
  </code></pre>
  
  <p>Thanks in advance.</p>