Learn R Programming

animint (version 2017.01.04)

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.