Computes trajectories of particles in a time-varying velocity field.
Trajectory(formula, x0, y0, cyclical = FALSE, data = NULL, res = 2)
a formula indicating dependent and independent variables in the form of dx + dy ~ x + y + t.
starting coordinates of the particles.
logical vector of boundary condition for x and y.
optional data.frame containing the variables.
resolution parameter (higher numbers increases the resolution)