plot_pep {basket}R Documentation

Plot the Posterior Exchangeability of a Basket Trial

Description

The posterior exchangeability of the baskets in a MEM analysis can be visualized via an exchangeogram using this function.

Usage

plot_pep(x, ...)

Arguments

x

basket element of the exchangeability model.

...

other options passed to ggplot2 to alter the visual characteristics of the plot. See Details for more information.

Details

The plot_pep function attempts to place the basket names to the left of the main diagonal in a way that makes it easy to read. However, for especially long basket names options are provided. Here is a list of all options available to “fine tune” the visualizations. These auxiliary options include:

Examples


# Create an MEM analysis of the Vemurafenib trial data.
data(vemu_wide)

mem_analysis <- mem_exact(
  vemu_wide$responders,
  vemu_wide$evaluable,
  vemu_wide$baskets
)

plot_pep(mem_analysis$basket)


[Package basket version 0.10.11 Index]