StackLegends: StackLegends

Description Usage Arguments Value

Description

Stacks legends from different plots into 1 ggplot object.

Usage

1
StackLegends(legends)

Arguments

legends

List of maps/ggplots with legends. If you give the function an object without a legend in this list, it will error out, noting that one of the maps does not contain a legend. List order is significant: first map's legend will be on the bottom, second map's legend above it, etc.

Value

A ggplot object with legends vertically stacked.


RebeccaStubbs/MapSuite documentation built on May 9, 2019, 9:37 a.m.