Learn R Programming

magclass (version 6.13.2)

hasCoords: Has Coordinates

Description

Checks, whether object contains coordinates.

Usage

hasCoords(x, xlab = "x", ylab = "y")

Value

Boolean indicating whether coordinates were found or not

Arguments

x

MAgPIE object

xlab

label of x-dimension

ylab

label of y-dimension

Author

Jan Philipp Dietrich

See Also

getCoords

Examples

Run this code

hasCoords(maxample("pop"))
hasCoords(maxample("animal"))


Run the code above in your browser using DataLab