Skip to content

rfm

0.4.0

Recency, Frequency and Monetary Value Analysis

1packages depend
31.4Kdownloads / year
79.6%test coverage
13/13checks pass

Overview

About
Maintained by Aravind HebbaliFirst published 2018-04-096 releasesCRAN page ↗GitHub ↗

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.

Install

Health

CRAN checks
13OK
Slowest check: 3.8 min · r-release-macos-x86_64
Code health
Yes
Tests · ratio 4.42
79.6%
Coverage · measured lines
100%
Documentation · exports
12
Dependencies · direct
Check history
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • WARNING2026-06-07
    12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 223 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
88%
Documented parameters
100%
Return-value docs
39%
References docs
0%

Downloads

31.4K
CRAN downloads in the past year
Rank #3,313 · ~86/day · ~2.6K/mo
Daily download trend is not available in this view yet.
93730 days
3.7K90 days
31.4K1 year
Compare downloads with other packages →
Also on114 r2u26 autocran

Repository

Repository
69Stars
26Forks
2Open issues
1Open PRs
7Releases
433Commits
3Contributors
rstatsrfm-analysiscustomer-segmentationcustomer-analyticssegmentation
433 commits · Last activity 2026-04-30 · 0% stars, 30d

Stars over time

2025-07-17 · 622026-07-07 · 69

Repository practices

Upstream repositoryBeta

7 development-tooling and community-health practices detected across 7 families in the upstream repository

Checks run against github.com/rsquaredacademy/rfm on 2026-07-19.

Continuous integration (1)
GitHub Actions
CRAN release process (1)
cran-comments.md
Docs source (1)
README.Rmd
Lint, format, editor (1)
RStudio project
Show all practices
Coverage (1)
Codecov
Governance and community (1)
Support guide
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
19 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.2
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
1direct
0indirect

Code & Tests

Datasets

People & History

People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Package Timeline

6 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 0.4.0Latest
    2026-04-30 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 0.3.0
    2024-02-26 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 0.2.2
    2020-07-21 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 0.2.1
    2020-04-23 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 0.2.0
    2019-01-14 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 0.1.0
    2018-04-09
  • R
    R 3.4.0 released · 2017-04-21

Package metadata

First published
2018-04-09
Total releases
6 / 8 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 3.2
Bundled data
893 KB / 2 files
Download size
1.1 MB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →