This vignette demonstrates how to use the
interactive_bias_plot() function to explore how bias priors
affect triangulated effect estimates in real time using a Shiny
interface.
The function launches an interactive app with sliders that control the magnitude and uncertainty of additive and proportional bias. The adjusted effect estimates update automatically as the priors change.
We use a small example dataset with four hypothetical studies.
To run the app, call the function below. This will open a Shiny window (locally) allowing you to interactively adjust the priors.
📌 Note: This command must be run in an interactive R session (e.g., RStudio). It won’t execute inside a knitted document but will launch a Shiny app when run line-by-line.
This tool is useful for exploring how robust your triangulated estimates are to different prior assumptions. You can use it with your own data by passing a data frame with columns:
result_idstudytypeyi (effect estimate)vi (variance)