animate_path.Rd
The timing of the plot animation is built arount the plot$data$timestamp field,
which is added in the plot_path
function. If you didn't create your plot in this way, you can either
add the field to the ggplot list data, or you can animate the path in a different way
animate_path(plt, ...)
plt | Needs to have timestamp x value |
---|---|
... |
Calls transition_reveal
from the gganimate package to plot the path, but