Learn R Programming

spacejamr (version 0.2.1)

plot.spacejamr: Plot the spatial extent of a spacejamr object

Description

Plot method for the spacejamr class

Usage

# S3 method for spacejamr
plot(x, y, ..., title = "Spatial Window", fill = "blue")

Arguments

x

an object of class spacejamr.

y

ignored.

...

ignored.

title

an optional title for the plot. Default is "Spatial Window".

fill

an optional fill for the plot. Default is blue.

Value

A plot of classes 'gg' and 'ggplot'

Details

The returned plot can be refined with standard ggplot2 functions

Examples

Run this code
# NOT RUN {
# Load spacejamr object
data("RI")

plot(RI)

# }

Run the code above in your browser using DataLab