Learn R Programming

geo (version 1.4-3)

geolines.with.arrows: Add arrowhead to plot

Description

Adds arrowhead at the start or the end of a list of coordinates on a geoplot.

Usage

geolines.with.arrows(data, start = T, size = 0.2, ...)

Arguments

data
Dataframe with coordinates in columns lat, lon.
start
Start from beginning (i.e. arrow points at first coordinate), default TRUE.
size
Size of arrow
...
Additional arguments to Arrow

Value

Draws an Arrowhead at the start or the end of the coordinates given in data, returns invisibly the outline as four coordinate pairs in a dataframe.

See Also

Called by geocurve, calls findline, invProj and Arrow.