Learn R Programming

imager (version 0.42.10)

load.example: Load example image

Description

Imager ships with five test pictures and a video. Two (parrots and boats) come from the [Kodak set](http://r0k.us/graphics/kodak/). Another (birds) is a sketch of birds by Leonardo, from Wikimedia. The "coins" image comes from scikit-image. The Hubble Deep field (hubble) is from Wikimedia. The test video ("tennis") comes from [xiph.org](https://media.xiph.org/video/derf/)'s collection.

Usage

load.example(name)

Arguments

name

name of the example

Value

an image

Examples

Run this code
# NOT RUN {
load.example("hubble") %>% plot
load.example("birds") %>% plot
load.example("parrots") %>% plot
# }

Run the code above in your browser using DataLab