Learn R Programming

animint (version 2017.01.04)

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