shadowtext | R Documentation |
plot borders around text based on text colors
shadowtext(
x,
y = NULL,
labels,
col = "white",
bg = "black",
auto.bg = TRUE,
bg.thresh = 0.75,
r = 0.05,
...
)
x |
x-coordinates of text labels |
y |
y-coordinates of text labels |
labels |
vector of text labels |
col |
vector of text foreground colors |
bg |
vector of text background colors |
auto.bg |
auto-select background color black or white based on a brightness color model |
bg.thresh |
brightness threshold to switch from black to white background color |
r |
ratio of stringwidth and stringheight to use for background color |
... |
further arguments to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.