powered by
Plot result of roll_dice()
plot_dice( data, detailed = FALSE, fill = "white", fill_success = "gold", point_color = "black", line_color = "black", line_size = 0.8 )
ggplot-Object
result of roll_dice()
If TRUE, the dice is plotted with more details
Fill color
Fill color if result is a success
Color of Points
Color of Lines
Size of Lines
library(magrittr) plot_dice() roll_dice(times = 3, rounds = 3) %>% plot_dice() roll_dice(times = 3, rounds = 3) %>% plot_dice(fill_success = "red")
Run the code above in your browser using DataLab