addShowSelectedForLegend: Add a showSelected aesthetic if legend is specified

View source: R/z_animintHelpers.R

addShowSelectedForLegendR Documentation

Add a showSelected aesthetic if legend is specified

Description

Add a showSelected aesthetic if legend is specified

Usage

addShowSelectedForLegend(meta, legend, L)

Arguments

meta

meta object with all information

legend

legend to scan for showSelected

L

layer of the plot

Value

L : Layer with additional mapping to new aesthetic


animint2 documentation built on Nov. 22, 2023, 1:07 a.m.