tile | R Documentation |
tile
duplicates an Image
object one or more
times along each of its two axes.
tile(image, ny = 1, nx = 1, target = "new")
image |
An |
ny |
A non-zero, positive integer specifying how many times the image is repeated along the vertical axis. |
nx |
A non-zero, positive integer specifying how many times the image is repeated along the horizontal axis. |
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
, reduce
rnd <- zeros(360, 1, 1)
randu(rnd)
rnd_tiled <- tile(rnd, 1, 640)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.