- rules
An object of class rules
from the arules
package.
- metric
A character string specifying the metric to use for coloring the heatmap.
Must be one of "confidence"
, "support"
, or "lift"
. Defaults to "confidence"
.
- graph_title
A character string specifying the title of the graph.
Defaults to an empty string (""
).
- graph_title_size
A numeric value specifying the size of the graph title text.
Defaults to 14
.
- x_axis_title
A character string specifying the title for the x-axis.
Defaults to "Antecedents"
.
- x_axis_title_size
A numeric value specifying the size of the x-axis title text.
Defaults to 12
.
- x_axis_text_size
A numeric value specifying the size of the x-axis text.
Defaults to 11
.
- x_axis_text_angle
A numeric value specifying the angle of the x-axis text.
Defaults to 45
.
- y_axis_title
A character string specifying the title for the y-axis.
Defaults to "Consequents"
.
- y_axis_title_size
A numeric value specifying the size of the y-axis title text.
Defaults to 12
.
- y_axis_text_size
A numeric value specifying the size of the y-axis text.
Defaults to 11
.
- y_axis_text_angle
A numeric value specifying the angle of the y-axis text.
Defaults to 0
.
- legend_title
A character string specifying the title of the legend. Defaults to the value of metric
.
- legend_text_size
A numeric value specifying the size of the legend text. Defaults to 8
.
- legend_position
A character string specifying the position of the legend.
Possible values are "right"
(default), "left"
, "top"
, "bottom"
, or "none"
.
- low_color
A valid R color or hex color code for the lower bound of the gradient.
Defaults to "lightblue"
.
- high_color
A valid R color or hex color code for the upper bound of the gradient.
Defaults to "navy"
.
- include_zero
A logical value indicating whether to include zero values for missing antecedent-consequent combinations.
Defaults to FALSE
.