[R] How to define proper breaks in RFM analysis

David Winsemius dwinsemius at comcast.net
Thu Oct 12 19:17:04 CEST 2017


> On Oct 12, 2017, at 1:17 AM, Hemant Sain <hemantsain55 at gmail.com> wrote:
> 
> 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

Have you read the Posting Guide?
And don't skip:  https://stat.ethz.ch/mailman/listinfo/r-help

-- 
David.
> 2
> 
snipped reams of useless "data".
> 
> -- 
> hemantsain.com
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

David Winsemius
Alameda, CA, USA

'Any technology distinguishable from magic is insufficiently advanced.'   -Gehm's Corollary to Clarke's Third Law



More information about the R-help mailing list