get_legend: Gets legend from plot

Description Usage Arguments Value See Also

View source: R/gglegends.R

Description

Gets legend from plot

Usage

1
get_legend(gplot, height = NA, width = NA)

Arguments

gplot

a ggplot

height

desired value of legend.key.height

width

desired value of legend.key.width

Value

returns grob

See Also

add_legend


AliciaSchep/rplotfriend documentation built on May 5, 2019, 4:54 a.m.