geom_premunch: Prepare the data for munching (if needed).

Description Usage Details Value

Description

This function will only be run if the coordinate system is non-linear, and requires "munching" (breaking the data into small enough pieces that they will still be linear after transformation). This method doesn't actually do the munching - it just gets the data into a standard form where it can happen.

Usage

1

Details

This usually requires reparameterising the geom to by something that can be drawn by geom_path or geom_polygon, and so the function should return both the data and the new geom to be used to draw the data.

The default method leaves the data and geom unchanged.

Value

list containing


hadley/layers documentation built on May 17, 2019, 10:42 a.m.