How can I make a plotly animation load on the final frame. That is, when the plot loads, I would like it to load on that last frame (eg. 2017). By default, it loads on the first frame (eg. 1960). Later, when the person clicks play, the animation should start from the first frame (eg. 1960)
animation_opts(frame = frame, transition = 0, redraw = FALSE) %>%
animation_slider(currentvalue = list(prefix = "Year"))