sort4plot: Sort data.

View source: R/sort4plot.R

sort4plotR Documentation

Sort data.

Description

Sort data is ascending order and coordinates accordingly, in order to plot highest values on top.

Usage

sort4plot(data, lon, lat)

Arguments

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 .

Value

A list of: data, lon, lat, indices with new order.

Author(s)

Ana Casanueva (12.12.2017)


anacv/plotFun documentation built on June 21, 2022, 10:31 p.m.