getCoords: Get Coordinates
Description
Extracts spatial coordinates of a MAgPIE-object
Usage
getCoords(x, xlab = "x", ylab = "y")getCoords(x, xlab = "x", ylab = "y") <- value
Arguments
value
coordinates as two column data.frame the data should be set to
(first column = x, second column = y).
Value
coordinates of the MAgPIE-object
Examples
Run this code# NOT RUN {
a <- maxample("animal")#'
getCoords(a)
# }
Run the code above in your browser using DataLab