Learn R Programming

imager (version 0.42.10)

ci: Concatenation for image lists

Description

Allows you to concatenate image lists together, or images with image lists. Doesn't quite work like R's "c" primitive: image lists are always *flat*, not nested, meaning each element of an image list is an image.

Usage

ci(...)

Arguments

...

objects to concatenate

Value

an image list

Examples

Run this code
# NOT RUN {
l1 <- imlist(boats,grayscale(boats))
l2 <- imgradient(boats,"xy")
ci(l1,l2) #List + list
ci(l1,imfill(3,3)) #List + image
ci(imfill(3,3),l1,l2) #Three elements, etc.
# }

Run the code above in your browser using DataLab