tm_animate {tmap} | R Documentation |
Specify an animation (experimental)
Description
tm_animate
Usage
tm_animate(
by = "VARS__",
nframes = 60L,
fps = 20L,
play = c("loop", "pingpong", "once"),
dpr = 2,
...
)
tm_animate_slow(
by = "VARS__",
nframes = 60L,
fps = 2L,
play = c("loop", "pingpong", "once"),
dpr = 2,
...
)
Arguments
by |
group by variable used to create the animation frames. Note: it is called |
nframes |
number of animation frames. This only app |
fps |
frames per second. Default: 30 for |
play |
how should the animation be played? One of |
dpr |
device pixel ratio. The ratio between the physical pixel density of a device and its logical pixel density. |
... |
passed on to |
See Also
tm_facets()
which is the core function, and tmap_animation()
used to save the animation
[Package tmap version 4.1 Index]