View source: R/plot_box_calls.R
xbox | R Documentation |
xbox
plots a box with a cross (x) in its top-right corner.
xbox(col = Seeblau, dim = c(1, 1), use_x = TRUE)
col |
The color to fill the box with (i.e., its background color).
Default: |
dim |
The x- and y-dimensions of the box (as numeric).
Default: |
use_x |
Plot a cross in upper right corner (as logical)?
Default: |
The cross (x) appears rectangular when viewing the plot
at the correct aspect ratio (as defined by dim
).
post
to add text to an xbox;
slide
to plot a new slide (or frame).
Other plot functions:
slide()
,
theme_grau()
,
theme_unikn()
xbox() # default box
# Options:
xbox(col = Bordeaux)
xbox(dim = c(2, 1)) # 2:1 dimension (wider than high)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.