g_legend: Get legend from a ggplot2 object

View source: R/misc_helper_functions.R

g_legendR Documentation

Get legend from a ggplot2 object

Description

Get legend from a ggplot2 object

Usage

g_legend(a.gplot)

Arguments

a.gplot

Value

ggplot2 legend object

Examples

g_legend(my_plot)

borenstein-lab/mimosa2 documentation built on Dec. 19, 2024, 12:44 a.m.