Skip to content

rfm

Recency, Frequency and Monetary Value Analysis

v0.4.0 · Apr 30, 2026 · MIT + file LICENSE

Description

Tools for RFM (recency, frequency and monetary value) analysis. Generate RFM score from both transaction and customer level data. Visualize the relationship between recency, frequency and monetary value using heatmap, histograms, bar charts and scatter plots. Includes a 'shiny' app for interactive segmentation. References: i. Blattberg R.C., Kim BD., Neslin S.A (2008) <doi:10.1007/978-0-387-72579-6_12>.

Downloads

CRAN

1.3K

Last 30 days

3195th

3.6K

Last 90 days

31.7K

Last year

Trend: -4.7% (30d vs prior 30d)

r2u CRAN

2

Last 30 days

39

Last 90 days

114

Last year

Trend: -89.5% (30d vs prior 30d)

autoCRAN

2

Last 7 days

18

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

package dependencies

Package required but not available: ‘plotly’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
WARNING 12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE Jun 7, 2026
WARNING r-devel-linux-x86_64-debian-gcc

for code/documentation mismatches

Fatal error: cannot create 'R_TempDir'
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Code metrics have not been computed for this package yet.

Reverse Dependencies (1)

suggests

Dependency Network

Dependencies Reverse dependencies dplyr gganimate ggplot2 magrittr plotly RColorBrewer rlang scales treemapify xplorerr xplorerr rfm

Version History

7 tracked
updated 0.4.0 ← 0.3.0 diff Apr 30, 2026
new 0.3.0 Mar 10, 2026
updated 0.3.0 ← 0.2.2 diff Feb 25, 2024
updated 0.2.2 ← 0.2.1 diff Jul 20, 2020
updated 0.2.1 ← 0.2.0 diff Apr 22, 2020
updated 0.2.0 ← 0.1.0 diff Jan 13, 2019
new 0.1.0 Apr 8, 2018