View source: R/simulate_vessel.R
simulate_vessel | R Documentation |
This function is deprecated but may still be useful in some contexts.
simulate_vessel(grids, vessels, toplot = TRUE, verbose = TRUE)
grids |
A spatial grid of cells, as produced by |
vessels |
A list of lists, each one representing settings for the simulation of a set of vessel transits. The expected format of each list is as follows:
|
toplot |
A Boolean; if |
verbose |
A Boolean; if |
A data.frame
, in which each row is a position fix for a transiting vessel,
with the following columns:
vid
= A fake ID for the vessel
type
= Vessel type
speed
= Speed, in knots
length
= Length
width
= Beam width
draft
= Draft
datetime
= Datetime in UTC, with format yyyy-mm-dd hh:mm:ss
.
x
= Longitude, decimal degrees (Western degrees negative).
y
= Latitude, decimal degrees (Southern degrees negative).
km
= The distance, in kilometers, between this and the next position fix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.