getCoords {magclass}R Documentation

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

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).

Value

coordinates of the MAgPIE-object

Functions

Author(s)

Jan Philipp Dietrich

See Also

as.RasterBrick, getItems, "magpie"

Examples

a <- maxample("animal")
getCoords(a)

[Package magclass version 6.13.2 Index]