fortify.SpatialPolygonsDataFrame {ggplot2}R Documentation

Fortify spatial polygons and lines

Description

Fortify method for a number of the class from the sp package.

Usage

fortify.SpatialPolygonsDataFrame(model, data, region = NULL, ...)

Arguments

model

SpatialPolygonsDataFrame

data

not used

region

name of variable to split up regions by

...

not used

Details

To figure out the correct variable name for region, inspect as.data.frame(model).

Author(s)

Hadley Wickham <h.wickham@gmail.com>


[Package ggplot2 version 0.8.9 Index]