plotHeatMap: Plot Heat Map of RFM

plotHeatMapR Documentation

Plot Heat Map of RFM

Description

Plot Heat Map of RFM

Usage

plotHeatMap(df, r_score, f_score, m_value, rfm_score, low = "cornsilk",
  high = "orange", size = 4, ...)

Arguments

df

data frame or tibble.

r_score

field name of recency score in df.

f_score

field name of frequency score in df.

m_value

field name of monetary value in df.

rfm_score

field name of weighted RFM score in df.

low

color for low value of m_value; default value is cornsilk.

high

color for high value of m_value; default value is orange.

size

the size of annotation; optional; default value is 4.

...

extra arguments go to geom_tile().

Value

a ggplot.


maxleungtszchun/customerAnalytics documentation built on July 27, 2023, 9:24 a.m.