View source: R/approx.lonlat.R
approx.lonlat | R Documentation |
approx
for longitude and latitudeLinearly interpolate longitudes and latitudes to n equally spaced points spanning the interval (min(lon), max(lon)) and (min(lat), max(lat)).
approx.lonlat(lon, lat, n = 20, a = 6378000, verbose = FALSE)
lon |
longitudes |
lat |
latitudes |
n |
length of output |
a |
the radius of the earth (unit: m) |
verbose |
a boolean; if TRUE print information about progress |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.