Learn R Programming

imager (version 0.20)

load.example: Load example image

Description

Imager ships with four 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. Also from Wikimedia: the Hubble Deep field (hubble). 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
load.example("hubble") %>% plot
load.example("birds") %>% plot
load.example("parrots") %>% plot

Run the code above in your browser using DataLab