title: Problem with Over- and Under-Sampling with ROSE in R
body: <p>I have a dataset to classify between won cases (14399) and lost cases (8677). The dataset has 912 predicting variables.
  I am trying to oversample the lost cases in order to reach almost the same number as the won cases (so having 14399 cases for each of the won and lost cases).</p>
  
  <p>TARGET is the column with lost (0) and won (1) cases:</p>
  
  <pre><code>table(dat_train$TARGET)
  
      0     1 
   8677 14399 
  </code></pre>
  
  <p>Now I am trying to balance them using ROSE ovun.sample</p>
  
  <pre><code>dat_train_bal &lt;- ovun.sample(dat_train$TARGET~., data = dat_train, p=0.5, seed = 1, method = "over")
  </code></pre>
  
  <p>I get this error:</p>
  
  <pre><code>Error in parse(text = x, keep.source = FALSE) : 
    &lt;text&gt;:1:17538: unexpected symbol
  1: PPER_409030143+BP_RESPPER_9639064007+BP_RESPPER_7459058285+BP_RESPPER_9339059882+BP_RESPPER_9339058664+BP_RESPPER_5209073603+BP_RESPPER_5209061378+CRM_CURRPH_Initiation+Quotation+CRM_CURRPH_Ne
  </code></pre>
  
  <p>Can anyone help?
  Thanks :-)</p>