| render_stack | R Documentation |
Stacks a list of images vertically or horizontally into a single image.
render_stack(
input_list,
stack = c("v", "h", "vertical", "horizontal"),
align = c("center", "start", "end", "left", "right", "top", "bottom"),
background = c(0, 0, 0, 0),
convert_colorspace = TRUE,
filename = NULL,
preview = FALSE
)
input_list |
List of 3-layer RGB/4-layer RGBA array, |
stack |
Default |
align |
Default |
background |
Default |
convert_colorspace |
Default |
filename |
Default |
preview |
Default |
A rayimg RGBA array.
render_stack(list(dragon, 1 - dragon), stack = "h") |>
plot_image()
render_stack(list(dragon, render_bw(dragon)), stack = "v") |>
plot_image()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.