Set duration of transition for chart animation.

b_trans(p, duration = 350)

Arguments

p

an object of class billboard.

duration

duration of animations.

Examples

mtcars %>% b_board(wt) %>% b_scatter(mpg) %>% b_trans(1000)