| fortify.SpatialPolygonsDataFrame {ggplot2} | R Documentation |
Fortify method for a number of the class from the sp package.
fortify.SpatialPolygonsDataFrame(model, data, region = NULL, ...)
model |
SpatialPolygonsDataFrame |
data |
not used |
region |
name of variable to split up regions by |
... |
not used |
To figure out the correct variable name for region, inspect
as.data.frame(model).
Hadley Wickham <h.wickham@gmail.com>