plotHeatMap | R Documentation |
Plot Heat Map of RFM
plotHeatMap(df, r_score, f_score, m_value, rfm_score, low = "cornsilk",
high = "orange", size = 4, ...)
df |
data frame or tibble. |
r_score |
field name of recency score in |
f_score |
field name of frequency score in |
m_value |
field name of monetary value in |
rfm_score |
field name of weighted RFM score in |
low |
color for low value of |
high |
color for high value of |
size |
the size of annotation; optional; default value is 4. |
... |
extra arguments go to |
a ggplot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.