Usage Arguments Author(s) See Also Examples
1 | interpolatevms(datsat, interval = 60, proj4 = NULL, area = NULL)
|
datsat |
datsat dataset with georeference points (longitude y latitude) that need to be interpolated |
interval |
Time bewteem each point interpolate |
proj4 |
... |
area |
... |
Pablo Marin and RocĂo Joo.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | # Load the datsat data
data(datsat)
datsat = datsat[datsat$idTrip == "10060-8",]
# Proyet datsat
library(lubridate)
projet.datsat <- projet(datsat)
# Interpolate the VMS data
interpolation <- interpolatevms(projet.datsat, interval = 60, proj4 = NULL, area = NULL)
# Map
mapVMS(x = projet.datsat$lon, y = projet.datsat$lat, speed = projet.datsat$speed)
points(interpolation$LONGITUDE_M, intepolation$LATITUDE_M, pch = 16, cex = 0.7)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.