Learn R Programming

animint (version 2016.07.12)

getLegendList: Function to get legend information from ggplot

Description

Function to get legend information from ggplot

Usage

getLegendList(plistextra)

Arguments

plistextra
output from ggplot2::ggplot_build(p)

Value

list containing information for each legend