Skip to contents

Explain a value in Shiny

The output and the render function for a single value. Use them in place of textOutput() and renderText(). A click on the value opens the waterfall and the reproduce code.

whenceOutput() renderWhence()
An output that explains where its number came from

Explain a table or a plot in Shiny

A summary table, or a ggplot of one. A click on a row, a bar or a point opens the panel of that row of the summary.

whenceTableOutput() renderWhenceTable()
A summary table whose rows explain where they came from
whencePlotOutput() renderWhencePlot()
A plot whose bars and points explain where they came from

React to what the viewer opens

A reactive with the row of the table whose panel is open, so the app can follow the viewer.

whence_opened()
The panel that the viewer has open

The engine, with no Shiny

Trace a pipeline from the console or a test, and read its parts.

whence_trace()
Trace where a number came from
whence_table()
Trace where the rows of a summary table came from
whence_group()
Explain one row of a summary table
whence_value() whence_code()
Parts of a trace
whence_rows()
The rows that make the value, or the rows that a step removed

Package

whence whence-package
whence: Explain Where a Number Came from in 'shiny' Apps