Creating animated plots in R with gganimate