Add arrowhead to plot

Share:

Description

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

Usage

1
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.

Note

May need further elaboration and/or detail.

See Also

Called by geocurve, calls findline, invProj and Arrow.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.