ships: Get or define ships in DeponsShips objects

shipsR Documentation

Get or define ships in DeponsShips objects

Description

Get or define ships in DeponsShips objects

Usage

## S4 method for signature '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

data(shipdata)
ships(shipdata)

jacobnabe/DEPONS2R documentation built on Nov. 20, 2024, 10:22 p.m.