display_image: Image tour path animation.

View source: R/display-image.r

display_imageR Documentation

Image tour path animation.

Description

Animate a 1d tour path with an image plot. This animation requires a different input data structure, a 3d array. The first two dimensions are locations on a grid, and the 3rd dimension gives the observations to be mixed with the tour.

Usage

display_image(xs, ys, ...)

animate_image(data, tour_path = grand_tour(1), ...)

Arguments

xs

x limit that is used in making the size of the plot

ys

y limit that is used in making the size of the plot

...

other arguments passed on to animate

data

matrix, or data frame containing numeric columns

tour_path

tour path generator, defaults to 2d grand tour

See Also

animate for options that apply to all animations

Examples

str(ozone)
animate_image(ozone)

tourr documentation built on May 29, 2024, 11:22 a.m.