Displaying 1 result from an estimated 1 matches for "rfm2".
Did you mean:
fm2
2017 Oct 11
0
RFM analysis
...ept for the finish date:
df.rfm<-qdrfm(df,finish=as.Date("2017-08-31"))
Range of purchase recency 31 122
Range of purchase freqency 1 4
Range of purchase amount 5.97 127.65
Your problem is now apparent. If I use the following breaks, I will
generate NA values in all three scores:
df.rfm2<-qdrfm(df,rbreaks=c(10,30,50),fbreaks=c(1,2,3),
mbreaks=c(8,14,400),finish=as.Date("2017-08-31"))
head(df.rfm2)
As I wrote before, the breaks _must_ cover the range of values if you
want a sensible analysis:
df.rfm3<-qdrfm(df,rbreaks=c(0,75,150),fbreaks=c(0,2,5),
mbreaks=c(0,75,...