# NOT RUN {
#### Load data sets
## Fastloc GPS data obtained from two green turtles
data(turtle)
data(turtle2)
turtles<-rbind(turtle, turtle2)
#### Filter temporal and/or spatial duplicates
turtle.dup <- dupfilter(turtles, step.time=5/60, step.dist=0.001)
#### ddfilter
V <- vmax(turtle.dup)
VLP <- vmaxlp(turtle.dup)
turtle.dd <- ddfilter(turtle.dup, vmax=V, vmaxlp=VLP)
#### Plot filtered data for each animal
## using the low-resolution world map
map_track(turtle.dd, point.size = 2, line.size = 0.5, axes.lab.size = 0, ncol=2, nrow=1)
# }
# NOT RUN {
## using the high-resolution google satellite images
map_track(turtle.dd, bgmap = "satellite", google.key = "key", ncol=2)
# }
Run the code above in your browser using DataLab