tripMap: Draw the positions and the trip on a map

Description Usage Arguments Author(s) Examples

View source: R/GeoLight.R

Description

Draw a map (from the R Package maps) with calculated positions connected by a line

Usage

1
2
tripMap(crds, equinox = TRUE, map.range = c("EuroAfrica", "AustralAsia",
  "America", "World"), legend = TRUE, ...)

Arguments

crds

a SpatialPoints or matrix object, containing x and y coordinates (in that order).

equinox

logical; if TRUE, the equinox period(s) is shown as a broken blue line.

map.range

some possibilities to choose defined areas (default: "World").

legend

logical; if TRUE, a legend will be added to the plot.

...

Arguments to be passed to methods, such as graphical parameters (see par).

Author(s)

Simeon Lisovski

Examples

1
2
3
4
5
data(hoopoe2)
 hoopoe2$tFirst <- as.POSIXct(hoopoe2$tFirst, tz = "GMT")
 hoopoe2$tSecond <- as.POSIXct(hoopoe2$tSecond, tz = "GMT")
crds <- coord(hoopoe2, degElevation = -6)
tripMap(crds, xlim = c(-20,20), ylim = c(0,60), main="hoopoe2")

GeoLight documentation built on May 1, 2019, 8 p.m.