Description Usage Arguments Value Examples
mappoints given a matrix or data.frame, which must contain fields names 'lat' and 'long', these value pairs will be added to the plot generated by maptas
1 2 3 |
view |
is a vector of four values defining the leftlong, the rightlong, the uplat, and the downlat. These define left, right, top, and bottom of the box plotted; defaults to c(129,155,-25,-44.6). The latitude values need to be negative (southern hemisphere). |
indat |
a matrix or data.frame containing, at least, columns with names 'long' and 'lat'. |
inpch |
default = 21, but can be changed to any valid symbol |
incex |
default 0.2, but can be a constant or variable |
incol |
default 2 (red) but can be any colour or rgb definition |
intitle |
main top center title, the same as in plotsessf; this is mostly useful if the refill variable is set to TRUE |
refill |
default TRUE, refill the land after plotting points. |
Long |
used to define the longitude field; defaults to 'long' |
Lat |
used to define the Latitude field; default to 'lat' |
infill |
the background colour filling open symbols like pch=1; defaults to incol |
adds the input points to a map; returns nothing.
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.