getLegend: Extract a legend from a gplot

Description Usage Arguments

View source: R/plots.R

Description

Extract a legend from a plot generated with ggplot

Usage

1
getLegend(plt)

Arguments

plt

a plot generated with ggplot


caitlinjones/halo documentation built on May 7, 2019, 8 a.m.