concatenate | R Documentation |
concatenate
concatenates two images into one, either
vertically or horizontally.
concatenate(image1, image2, direction = "vertical", target = "new")
image1 , image2 |
|
direction |
A character string indicating the direction of concatenation.
It can be either |
target |
The location where the results should be stored. It can take 2 values:
|
If target="new"
, the function returns an Image
object. If target
is an Image
object, the function
returns nothing and modifies that Image
object in place.
Simon Garnier, garnier@njit.edu
Image
balloon <- image(system.file("sample_img/balloon1.png", package = "Rvision"))
two_balloons <- concatenate(balloon, balloon)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.