[R] How to define proper breaks in RFM analysis
Hemant Sain
hemantsain55 at gmail.com
Thu Oct 12 10:17:52 CEST 2017
Hello,
I'm working on RFM analysis and i wanted to define my own breaks but my
frequency distribution is not normally distributed so when I'm using
quartile its not giving the optimal results.
so I'm looking for a better approach where i can define breaks dynamically
because after visualization i can do it easily but i want to apply this
model so that it can automatically define the breaks according to data set.
I'm attaching sample data for reference.
Thanks
*Freq*
5
15
1
8
2
2
2
1
1
2
2
1
1
1
1
4
10
22
24
1
1
2
2
7
1
1
4
6
1
1
2
2
17
2
7
1
5
2
7
7
1
4
13
4
1
9
1
1
1
3
2
1
1
2
4
5
8
4
14
18
4
1
1
1
7
1
1
1
1
10
6
4
6
1
3
13
2
4
8
11
2
4
6
1
1
3
1
2
3
2
2
5
2
1
1
1
3
2
3
1
2
9
34
8
1
1
1
1
2
1
5
4
9
1
1
4
2
2
1
1
2
25
5
2
1
1
1
6
1
36
3
4
5
3
3
13
2
1
4
1
1
9
7
1
1
15
1
1
2
5
7
3
3
1
8
7
5
1
1
5
14
3
2
2
1
5
3
4
3
1
2
9
2
15
2
1
3
56
3
2
4
2
26
3
1
4
1
1
12
1
18
7
6
7
2
3
2
1
4
15
10
7
5
3
6
4
9
1
2
2
2
3
1
1
8
3
1
2
3
1
10
3
1
3
5
1
8
3
2
3
7
1
5
2
1
1
6
2
1
9
1
20
2
1
4
21
5
4
4
1
1
1
11
7
4
6
1
3
3
12
4
7
4
3
3
1
2
10
5
11
3
2
1
3
30
1
4
5
1
7
3
1
3
9
2
2
14
10
1
1
1
1
5
1
1
18
32
1
4
5
4
3
2
9
2
6
3
2
2
2
2
2
2
4
4
3
1
1
2
4
6
1
1
1
2
2
1
1
3
1
1
3
1
2
3
2
9
4
1
2
4
3
3
3
1
2
1
3
4
3
1
3
1
5
14
7
1
1
1
1
4
3
4
5
8
1
10
3
2
7
5
4
5
7
4
4
10
3
7
12
1
1
3
1
6
1
5
9
2
1
3
4
3
2
2
5
1
4
6
5
3
1
1
6
3
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