powered by
This function will generate a list of coordinates for the 'fine' resolution climate zone map data, stored in 'kgz.rda'.
genCoords(latlong = "lat", full = FALSE, latdim = 6480, londim = 12960)
Whether a vector of latitude values, or longitude values, is being created.
Specify whether to generate a full list of all coords in the full image, or just one row/column (default FALSE, means just one row/column).
The number of pixels in the image in the latitude dimension (y)
The number of pixels in the image in the longitude dimension (x)
A vector of latitude or longitude coordinate values (default for a map 12960x 6480y).
# NOT RUN { ccoords <- genCoords(latlong='lon',full='true') # }
Run the code above in your browser using DataLab