gardenstate | R Documentation |
A data frame of coordinates and geometry classifiers of the garden state, South Australia.
gardenstate
is the geometry, a data frame with columns:
x and y coordinate
Key attribute for the objects
Group attribute, unique values identify a closed ring, part is the part 'id' within an object
Logical, FALSE
for "island" vs. "hole"
Numeric value to identify sort order within branch
The PROJ.4 string for this map is:
+proj=lcc +lat_1=-47 +lat_2=-17 +lat_0=-32 +lon_0=136 +x_0=0 +y_0=0 +ellps=WGS84 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs
gs <- ggplot(gardenstate)
gs <- gs + aes(x = x, y = y, group = group, fill = id)
gs + geom_polypath() + geom_path()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.