meme | R Documentation |
create meme
meme(
img,
upper = "",
lower = "",
size = "auto",
color = "white",
font = "Impact",
vjust = 0.05,
bgcolor = "black",
r = 0.2,
density = NULL
)
img |
path or url |
upper |
upper text |
lower |
lower text |
size |
size of text |
color |
color of text |
font |
font family of text |
vjust |
vertical adjustment of captions |
bgcolor |
background color of shadow text |
r |
ratio of shadow text |
density |
resolution to render pdf or svg |
grob object
Guangchuang Yu
f <- system.file("angry8.jpg", package="meme")
meme(f, "code", "all the things!", font = "Helvetica")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.