dathome {ggpolypath}R Documentation

Simple polygon data

Description

A "home" profile of three objects with multiple parts as two related data frames.

Format

dathome is the metadata, a data frame with columns:

name

A descriptive name

colour

A colour to distinguish each object

FAD

An arbitrary numeric value

object_

Key attribute, linking this object to its geometry in maphome

maphome is the geometry, a data frame with columns:

object_

Key attribute, linking this row to its metadata in dathome

branch_

Group attribute, unique values identify a closed ring

island_

Logical, TRUE for "island" vs. "hole"

order_

Numeric value to identify sort order within branch

x_,y_

x and y coordinate

Details

maphome is the geometry

Examples

ggplot(maphome) + aes(x = x_, y = y_, group = branch_, fill = object_) +
geom_polypath() + geom_path() + facet_wrap(~object_, nrow = nrow(dathome))



[Package ggpolypath version 0.3.0 Index]