mapasp {gstat}R Documentation

Calculate plot aspect ratio for geographic maps

Description

Calculate plot aspect ratio for geographic maps

Usage

mapasp(data, x = data$x, y = data$y, get.number = FALSE)

Arguments

data data frame
x x-coordinates
y y-coordinates
get.number logical; if true the aspect value is returned else, and in R >= 2.0.0, "iso" is returned

Value

on R version 2.0.0 or higher, returns "iso", else returns diff(range(y))/diff(range(x))

See Also

image.data.frame, krige


[Package gstat version 0.9-18 Index]