Learn R Programming

imager (version 0.42.19)

mirror: Mirror image content along specified axis

Description

Mirror image content along specified axis

Usage

mirror(im, axis)

Arguments

im

an image

axis

Mirror axis ("x","y","z","c")

Examples

Run this code
mirror(boats,"x") %>% plot
mirror(boats,"y") %>% plot

Run the code above in your browser using DataLab