Learn R Programming

geoR (version 1.6-35)

set.coords.lims: Sets Limits to Scale Plots

Description

This is an function typically called by functions in the package geoR to set limits for the axis when plotting spatial data.

Usage

set.coords.lims(coords, borders = coords, xlim, ylim, ...)

Arguments

coords
an $n \times 2$ matrix with coordinates.
borders
an $n \times 2$ matrix with coordinates.
xlim, ylim
the ranges to be encompassed by the x and y axes.
...
not used, included just for internal handling.

Value

  • A $2 \times 2$ matrix with limits for the axis.