sort4plot | R Documentation |
Sort data is ascending order and coordinates accordingly, in order to plot highest values on top.
sort4plot(data, lon, lat)
data |
vector to be plotted. |
lon |
vector of longitudes. It must have the same length as data . |
lat |
vector of latitudes. It must have the same length as data . |
A list of: data, lon, lat, indices with new order.
Ana Casanueva (12.12.2017)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.