cluster_pep: Get the Clusterwise Posterior Exchangeability Matrix

Description Usage Arguments Examples

View source: R/accessors.r

Description

MEM analyses include the posterior exchangeability probability (PEP) of clusters of arms giving the probability that any two arms are exchangeable. This function returns the matrix of those probabilities.

Usage

1

Arguments

x

either an exchangeability model or basket object.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
# 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 cluster PEPs.
basket_pep(mem_analysis)

basket documentation built on Oct. 17, 2021, 1:07 a.m.