Bracket headroom for a module, read straight off its Stats tab
Source:R/stat_helper.R
stat_bracket_headroom.RdWraps stat_bracket_y_max() with the geometry inputs every module's Stats
tab carries, so the three modules that draw significance brackets share one
call rather than three copies of the same argument list. Missing inputs fall
back to the tab's own defaults, which matters while the tab has yet to be
rendered.
Usage
stat_bracket_headroom(
df,
x,
y,
group.by = NULL,
facet.by = NULL,
per.facet = TRUE,
input,
dodge.width = 1
)Arguments
- df, x, y, group.by, facet.by, per.facet, dodge.width
Passed to
stat_bracket_y_max().- input
The Shiny
inputobject from insidemoduleServer().