This function "munches" lines, dividing each line into many small pieces so they can be transformed independently. Used inside geom functions.
coord_munch(coord, data, range, segment_length = 0.01, is_closed = FALSE)
Coordinate system definition.
Data set to transform - should have variables x
and
y
are chopped up into small pieces (as defined by group
).
All other variables are duplicated as needed.
Panel range specification.
Target segment length
Whether data should be considered as a closed polygon.