Learn R Programming

DEPONS2R (version 1.2.2)

ships: Get or define ships in DeponsShips objects

Description

Get or define ships in DeponsShips objects

Usage

# S4 method for DeponsShips
ships(x)

ships(x) <- value

Arguments

x

Object of class DeponsShips

value

data frame with the 'name', 'type', 'length', and 'route' of ships to be simulated, as well as 'tickStart' and 'tickEnd' defining when the ships are to be included in simulations. 'route' is one of the shipping routes defined in the DeponsShips object.

See Also

routes

Examples

Run this code
data(shipdata)
ships(shipdata)

Run the code above in your browser using DataLab