- rules
A list of rules objects from the arules package.
The list must contain between 2 and 4 rules objects.
- fill_color
A character vector of valid R color names or hex color codes for filling the sets.
If NULL, default colors c("red", "blue", "green", "purple") will be used. Defaults to NULL.
- fill_alpha
A numeric value between 0 and 1 specifying the transparency of the fill colors. Defaults to 0.5.
- stroke_color
A character string specifying the color of the set borders. Defaults to "black".
- stroke_size
A positive numeric value specifying the size of the set borders. Defaults to 1.
- title
A character string specifying the title of the Euler diagram. Defaults to NULL.
- name_color
A character string specifying the color of the set names. Defaults to "black".
- name_size
A positive numeric value specifying the font size of the set names. Defaults to 12.
- text_color
A character string specifying the color of the quantity labels (counts) in the diagram. Defaults to "black".
- text_size
A positive numeric value specifying the font size of the quantities (counts). Defaults to 11.
- show_legend
A logical value indicating whether to display a legend for the sets rather than labels. Defaults to FALSE.
- legend_position
A character string specifying the position of the legend. Must be one of "top", "bottom", "left", or "right". Defaults to "bottom".
- nrow
An optional numeric value specifying the number of rows in the legend layout. If NULL, the number of rows is calculated automatically. Defaults to NULL.
- ncol
An optional numeric value specifying the number of columns in the legend layout. If NULL, the number of columns is calculated automatically. Defaults to NULL.