diff --git a/session_3/session_3.Rmd b/session_3/session_3.Rmd index 3e08297880cf1dba9b04f38b7d23e128eb644aa1..4156027493c0ce522ebb733d6c9aecdf864f57c6 100644 --- a/session_3/session_3.Rmd +++ b/session_3/session_3.Rmd @@ -432,7 +432,8 @@ For this we need to add a `transition_time` layer that will take as an argument ggplot(gapminder, aes(gdpPercap, lifeExp, size = pop, color = continent)) + geom_point() + scale_x_log10() + - transition_time(year) + transition_time(year) + + labs(title = 'Year: {as.integer(frame_time)}') ``` </p> </details> \ No newline at end of file