basket_map: Get the Basketwise Maximum A Posteriori Probability Matrix

View source: R/accessors.r

basket_mapR Documentation

Get the Basketwise Maximum A Posteriori Probability Matrix

Description

MEM analyses include the maximum a posterior exchangeability probability (MAP) of included arms indicating whether two arms in the trial are exchangeable. This function returns the matrix of those relationships.

Usage

basket_map(x)

Arguments

x

either an exchangeability model or basket object.

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
)

# Get basket MAPs.
basket_map(mem_analysis)


kaneplusplus/basket documentation built on July 31, 2023, 6:46 p.m.