Trajectory: Compute trajectories

View source: R/Tajectory.R

TrajectoryR Documentation

Compute trajectories

Description

Computes trajectories of particles in a time-varying velocity field.

Usage

Trajectory(formula, x0, y0, cyclical = FALSE, data = NULL, res = 2)

Arguments

formula

a formula indicating dependent and independent variables in the form of dx + dy ~ x + y + t.

x0, y0

starting coordinates of the particles.

cyclical

logical vector of boundary condition for x and y.

data

optional data.frame containing the variables.

res

resolution parameter (higher numbers increases the resolution)


metR documentation built on Oct. 14, 2024, 5:09 p.m.