g_legend: Get legend from a gplot

Description Usage Arguments Value

Description

Given a plot generated with ggplot(), separate and return only the legend component

Usage

1
g_legend(plt)

Arguments

a.gplot

a plot generated by ggplot()

Value

the legend of a.gplot


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