getCoords {magclass} | R Documentation |
Extracts spatial coordinates of a MAgPIE-object
getCoords(x, xlab = "x", ylab = "y")
getCoords(x, xlab = "x", ylab = "y") <- value
x |
MAgPIE object |
xlab |
label of x-dimension |
ylab |
label of y-dimension |
value |
coordinates as two column data.frame the data should be set to (first column = x, second column = y). |
coordinates of the MAgPIE-object
getCoords(x, xlab = "x", ylab = "y") <- value
: set coordinates
Jan Philipp Dietrich
as.RasterBrick
, getItems
, "magpie"
a <- maxample("animal")
getCoords(a)