R is a programming language possesses an extensive catalog of statistical and graphical methods. It includes machine learning algorithm, linear regression, time series, statistical inference to name a few. Most of the R libraries are written in R,but many large companies also use R programming language, including Uber, Google, Airbnb, Facebook and so on

AD1

Email subscriptions

Enter your email address:

Delivered by FeedBurner

Saturday, January 5, 2019

Easing Animation

Linear Transition Easing  Animation

ggplotly(gg)
> base <- gapminder %>%
+     plot_ly(x = ~gdpPercap, y = ~lifeExp, size = ~pop,
+             text = ~country, hoverinfo = "text") %>%
+     layout(xaxis = list(type = "log"))
base %>%
+     add_markers(color = ~continent, frame = ~year, ids = ~country) %>%
+     animation_opts(1000, easing = "elastic", redraw = FALSE) %>%
+     animation_button(
+         x = 1, xanchor = "right", y = 0, yanchor = "bottom"
+     ) %>%
+     animation_slider(
+         currentvalue = list(prefix = "YEAR ", font = list(color="red"))

Easing Animation

www.r-languagestatistics.co

No comments:

Post a Comment

a