Learn R Programming

vectools (version 0.3.0)

44_range_methods: Object Spatial Ranges

Description

Compute the spatial ranges of GeomObject(s).

In principle, this corresponds to the xlim/ylim arguments in the base graphics system. (i.e. If you needed to initialize a plotting window, then the range methods give the xlim/ylim values).

Usage

# S3 method for GeomArray
range(v, …)
# S3 method for Grid
range(v, …)
# S3 method for Line
range(v, …)
# S3 method for Points
range(v, …)
# S3 method for Polygon
range(v, …)
# S3 method for Text
range(v, …)
# S3 method for VImage
range(v, …)

Arguments

v

A GeomObject.

Ignored.

Value

A two-column matrix.

Examples

Run this code
# NOT RUN {
range (TCUBE)
# }

Run the code above in your browser using DataLab