mobile_animate: Animate

Description Usage Arguments Aspect Examples

View source: R/animate.R

Description

Animate various aspects of the chart.

Usage

1
mobile_animate(m, aspect, ...)

Arguments

m

An object of class mobile as returned by mobile.

aspect

Aspect to animate, see section below for valid values.

...

Named options from the official documentation.

Aspect

Valid aspect:

Examples

1
2
3
4
5
6
7
8
9
mobile(cars, aes(speed, dist)) %>% 
 mobile_point() %>% 
 mobile_animate(
   "point", 
   appear = list(
     animation = 'fadeIn',
     duration = 5000
   )
 )

RinteRface/mobileCharts documentation built on Feb. 14, 2020, 2:31 a.m.