[R] Binning Data and Event rates
prateek pande
prtkpande at gmail.com
Mon Apr 17 21:20:47 CEST 2017
I have a data, in the form mentioned below.
Values Churn
21 1
22 1
31.2 1
32 1
35 0
43 1
45 0
67 1
67 0
76 0
89 1
Now i want to bin the values variables into bins and corresponding that
want the churn percentage, like mentioned below
Binned data churn%
(20.9,43.7] 0.83
(43.7,66.3] 0
(66.3,89.1] 0.50
Please help
« Return to Rcom-l <http://r.789695.n4.nabble.com/Rcom-l-f930477.html> | 3
v
[[alternative HTML version deleted]]
More information about the R-help
mailing list