RFM & customer lifetime value modeling in R Can anybody tell me how to do recency, frequency & monetary value (RFM) modeling & customer value modeling in R? 
Also, can somebody refer me some literature on it?
 A: Not sure if you are still working on the RFM modeling. Here (pdf) is an article / the vignette for the BTYD package in R that might be helpful to you. The whole article is based on R and it has 3 different models to look at. On Page 1, 2.1 Data Preparation, you can see the context about RFMs. 
A: As for references, Data Mining Using RFM Analysis should help as far as terminology and further references go.
One of the simplest (and popular) ways to model the probability of customer response is to use logistic regression with RFM as explanatory variables (among other available variables). 
For modeling monetary value, one could just regress revenue on RFM directly (by using a simple linear model for starters) which usually does surprisingly well. More advanced/non-linear models (such as Random Forest or Gradient Boosting Machine) do better than linear models in my experience.
Another popular approach is to build a slightly more complex model for predicting monetary value based on two sub-models: one for probability of response (e.g. using logistic regression as a function of RFM), and the other for revenue conditional on response (again, it could be as simple as a linear model of RFM). Expected monetary value is the product of the two predictions.
If randomized test/control data are available then uplift/netlift based techniques are quite popular for modeling the incremental benefit of a treatment.
As for customer life cycle value, see Modeling Customer Lifetime Value for a review and further references.
With regards to modeling in R, I am not aware of any "off-the-shelf" packages for that type of modeling. R does provide all necessary building blocks for that though (unless you have enormous amount of data - in that case you may have to rely on more scalable tools)
A: There is a new R package that implements some of the latest modeling techniques for CLV in non-contractual settings (e.g. retailing):
https://cran.r-project.org/package=CLVTools
Here is a step-by-step walk-through based on data from an apparel retailer:
https://www.clvtools.com/articles/CLVTools.html
