Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

get.contours

Extracts coordinates from contourLines function


Description

Takes contours of contourLines function and extracts the associated coordinates.

Usage

get.contours(x)

Arguments

x

A list returned by the contourLines function.

Value

Returns a 2-column matrix containing the coordinates making up the contours in contours.list.

Author(s)

Joshua French

See Also

contourLines, contour

Examples

data(volcano)
x <- 10*1:nrow(volcano)
y <- 10*1:ncol(volcano)
cL <- contourLines(x, y, volcano)
out <- get.contours(cL)

SpatialTools

Tools for Spatial Data Analysis

v1.0.4
GPL (>= 2)
Authors
Joshua French <joshua.french@ucdenver.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.