Learn R Programming

ggdiceplot (version 1.0.1)

ggdiceplot-package: ggdiceplot: Dice Plot Visualization for ggplot2

Description

The ggdiceplot package provides extensions for ggplot2 that allow visualizing data using dice-based dot patterns. The main feature is geom_dice(), which displays categorical variables using traditional dice face layouts (1 to 6 dots). This is especially helpful for multidimensional categorical data visualization.

Arguments

Main Functions

  • geom_dice — Display dice representations for data points

  • create_dice_positions — Generate dice dot patterns for integers 1–6

  • make_offsets — Internal function to calculate x/y offsets for dot placement

Features

  • Seamless integration with ggplot2

  • Traditional dice dot layouts

  • Customizable appearance (size, color, transparency)

  • Support for faceting and multiple aesthetics

Author

Maintainer: Matthias Flotho matthias.flotho@ccb.uni-saarland.de (ORCID)

See Also