cluster_baskets | R Documentation |
Object returned by the 'mem_mcmc()' and 'mem_exact()' include information about the arms in the trials and the cluster composed of sets of similar arms. This function returns the name of each arm in a cluster.
cluster_baskets(x)
x |
either an exchangeability model or basket object. |
A named list is returned where the name is the cluster name and each element of the list is comprise do a character vector of the baskets in each cluster.
# 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,
cluster_analysis = TRUE
)
# Get the baskets in the clusters.
cluster_baskets(mem_analysis)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.