Learn R Programming

magclass (version 5.24.7)

hasCoords: Has Coordinates

Description

Checks, whether object contains coordinates.

Usage

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

Arguments

x

MAgPIE object

xlab

label of x-dimension

ylab

label of y-dimension

Value

Boolean indicating whether coordinates were found or not

See Also

getCoords

Examples

Run this code
# NOT RUN {
hasCoords(maxample("pop"))
hasCoords(maxample("animal"))


# }

Run the code above in your browser using DataLab