playing_cards_plot: Plot your playing cards

Description Usage Arguments Examples

View source: R/1.1_colorfunc_and_rules.R

Description

Plot playing cards as textboxplots

Usage

1
2
playing_cards_plot(title = "Plot Title", cards, x, y = 0.85,
  x_limit = c(0, 10), cards_color = "white")

Arguments

title

The Title of your plot. Default = "Plot Title".

cards

Playing Cards that will be plotted as character.

x

list of vectors with min.and max. x-position of cards.

y

y position: location of the top of the card.

x_limit

set x scale limit. Default is c(0, 10).

cards_color

colors of playing cards, default is white.

Examples

1
2
3
4
5
6
 playing_cards_plot(title = "My Playing Cards",
 cards = c("Ace", "King", "Seven"),
 x = list(c(0, 1.5),
 c(2, 3.5),
 c(4, 5.5)),
 cards_color = c("green", "blue", "red"))

AFThielmann/JaipuR documentation built on March 29, 2020, 12:55 a.m.