Learn R Programming

DEPONS2R (version 1.2.2)

routes: Get or define routes in DeponsShips objects

Description

Get or define routes in DeponsShips objects

Usage

# S4 method for DeponsShips
routes(x)

# S4 method for DeponsShips routes(x) <- value

Arguments

x

Object of class DeponsShips

value

list with one named element per shipping route. Each element is a data frame with the variables x, y, speed, and 'pause' which define the coordinates of the fix-points on the shipping routes and the speeds that ships have after passing the fix point and until reaching the next fix point. The variable 'pause' instructs ships about how many minutes to wait before continuing to move.

See Also

ships