| DeponsShips-class {DEPONS2R} | R Documentation |
DeponsShips-class
Description
Objects containing ship routes and ships
Methods for manipulating, plotting and analyzing ship routes and ship agents used in DEPONS simulations.
Slots
titleName of the object (character)
landscapeName of the landscape that the ships occur in (character)
crsCRS object providing the coordinate reference system used; see
CRSfor detailsroutesdata.framegeographic positions of the 'virtual buoys' that define one or more ship routes that ship agents follow, and the speed that the ships should use when following this route. They also provide information about how long ships should use speed zero when reaching a specific buoy ('i.e. 'pause', measured in minutes). Can be extracted using theroutesfunction.shipsdata.framedefining each of the ships occurring in DEPONS simulations, and the routes they occur on. The data frame includes the variables 'name', 'type', 'length', and 'route'. Info can be extracted using theshipsfunction.
See Also
plot.DeponsShips,
and read.DeponsShips
Examples
data(shipdata)
ships(shipdata)[1:10,]
routes(shipdata)
plot(shipdata, col=c("red", "purple", "blue"))