anim_map_obesity: Creates animation object. Can be saved by using...

View source: R/plotting.R

anim_map_obesityR Documentation

Creates animation object. Can be saved by using gganimate::anim_save() .

Description

Creates animation object. Can be saved by using gganimate::anim_save() .

Usage

anim_map_obesity(map = "world", time = 20)

Arguments

map

str | World or DK

time

int | Time in second the gif should run for

Value

gif item

Examples

gif <- anim_map_obesity(map = "world")

# Save gif
gganimate::anim_save(filename = "world.gif", animation = gif, path = "~/")

AndersAskeland/askelandR documentation built on Sept. 20, 2023, 10:39 a.m.