vessel_grid | R Documentation |
This function determines each spatial grid cell intersected by each vessel transit. To do so, it interpolates position fixes to ensure that there is one at least every 0.5 km.
vessel_grid(grids, vessels, toplot = FALSE, verbose = TRUE)
grids |
A spatial grid of cells, as produced by |
vessels |
A
|
toplot |
A Boolean; if |
verbose |
A Boolean; if |
A data.frame
of interpolated vessel position fixes (can be quite large)
and the grid cell id associated with each position fix.
data(grid_kfs)
data(ais_2019)
vessel_grid(grid_kfs, ais_2019)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.