anim_map_obesity | R Documentation |
gganimate::anim_save()
.Creates animation object. Can be saved by using gganimate::anim_save()
.
anim_map_obesity(map = "world", time = 20)
map |
str | World or DK |
time |
int | Time in second the gif should run for |
gif item
gif <- anim_map_obesity(map = "world")
# Save gif
gganimate::anim_save(filename = "world.gif", animation = gif, path = "~/")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.