display_image {tourr} | R 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 |
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)
[Package tourr version 1.2.0 Index]