Learn R Programming

ggOceanMaps (version 1.1)

reorder_layers: Move basemap land, glacier and grid layers on top of other ggplot layers

Description

Moves existing land, glacier and grid layers on top of other layers. Useful for hiding region polygons under land.

Usage

reorder_layers(p)

Arguments

p

ggplot object from the basemap function.

Value

Returns a ggplot object with land, glacier and grid layers on top.

Details

This function has not been tested properly yet and is likely to contain bugs.

See Also

Other customize shapefiles: auto_limits(), theme_map()