make_bar: Convenience function for an interactive bar that might...

View source: R/z_geoms.R

make_barR Documentation

Convenience function for an interactive bar that might otherwise be created using stat_summary(geom="bar").

Description

Convenience function for an interactive bar that might otherwise be created using stat_summary(geom="bar").

Usage

make_bar(data, x.name, alpha = 1)

Arguments

data

data.frame to analyze for unique x.name values.

x.name

variable to be used for x, clickSelects.

alpha

transparency of selected bar, default 1.

Value

a geom_bar layer.

Author(s)

Toby Dylan Hocking


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

Related to make_bar in animint2...