im_combine | R Documentation |
Combine images
im_combine(im1, im2, y = 0, x = 0, alpha = FALSE, background = 1)
im1 |
an image |
im2 |
an image |
y |
y-offset |
x |
x-offset |
alpha |
either FALSE (default) or TRUE (enable alpha transparency) |
background |
background color |
an image
plot(im_combine(regatta, regatta, y = im_height(regatta))) plot(im_combine(regatta, regatta, y = 100, x = 200)) plot(im_combine(regatta, regatta, y = 100, x = 200, background = 0.5)) plot(im_combine(regatta, regatta, y = 100, x = 200, background = c(1, 0.5, 0.5)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.