# NOT RUN {
#Original orientation
# }
# NOT RUN {
plot_image(dragon)
# }
# NOT RUN {
#Flip the dragon image horizontally
# }
# NOT RUN {
dragon %>%
render_reorient(flipx = TRUE) %>%
plot_image()
# }
# NOT RUN {
#Flip the dragon image vertically
# }
# NOT RUN {
dragon %>%
render_reorient(flipy = TRUE) %>%
plot_image()
# }
# NOT RUN {
#'#Transpose the dragon image
# }
# NOT RUN {
dragon %>%
render_reorient(transpose = TRUE) %>%
plot_image()
# }
Run the code above in your browser using DataLab