title: Coarse classing based on weight of evidence in r
body: <p>How can we use weight of evidence for binning continuous data in R. For e.g. I have a data:</p>
  
  <pre><code>Recency
  364
  91
  692
  13
  126
  4
  40
  93
  13
  33
  262
  12
  136
  21
  88
  16
  4
  19
  24
  89
  36
  5
  274
  125
  740
  6
  13
  715
  591
  443
  104
  853
  260
  125
  62
  357
  559
  155
  163
  16
  433
  91
  1380
  96
  374
  130
  574
  101
  5
  11
  34
  401
  13
  215
  168
  </code></pre>
  
  <p>So, what should be the command to bin this variable in different groups, based on Weight of evidence, or you can say coarse classing.</p>
  
  <p>Output I want is:
  Group I: Recency &lt;200
  Group I: Recency 200-400
  Group I: Recency >400</p>
  
  <p>Thanks</p>