Learn R Programming

animint (version 2016.07.12)

getLegend: Function to get legend information for each scale

Description

Function to get legend information for each scale

Usage

getLegend(mb)

Arguments

mb
single entry from ggplot2:::guides_merge() list of legend data

Value

list of legend information, NULL if guide=FALSE.