Learn R Programming

fetchR (version 2.1-1)

plot,Fetch,missing-method: Plot a Fetch Object

Description

Plot method for Fetch objects.

Usage

# S4 method for Fetch,missing
plot(x, y, ...)

# S4 method for Fetch,SpatialPolygons plot(x, y, ...)

# S4 method for SpatialPolygons,Fetch plot(x, y, ...)

Arguments

x

either a Fetch object as returned by fetch, or a SpatialPolygons object.

y

can be missing, otherwise same as x.

...

further arguments passed to plot,SpatialLines,missing-method.

Details

These plot methods allow for the fetch vectors to be plotted (missing y), or the fetch vectors to be plotted along with a SpatialPolygons object. If both x and y are supplied, then it does not matter which argument is supplied first.