prepare.shape.fortify: prepare.shape.fortify

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Prepare Shape File for Plotting

Usage

1

Arguments

shape

A shape object as read using maptools.

Details

Takes in a shape object, fortifies it and joins in it's accompanying data.

Value

A data.frame suitable for use in ggplot.

Author(s)

Jared P. Lander

See Also

prepare.shape

Examples

1
2
3
4
5
## Not run: 
nyc <- readShapeSpatial(fn="nyct2010.shp")
nyc.df <- prepare.shape.fortify(nyc)

## End(Not run)

jaredlander/mapping documentation built on May 18, 2019, 3:46 p.m.