Learn R Programming

basksim (version 1.0.0)

get_details: Get Details of a Basket Trial Simulation

Description

Get Details of a Basket Trial Simulation

Usage

get_details(design, ...)

Value

A list containing the rejection probabilites, posterior means, mean squared errors of all baskets and the family-wise error rate. For some methods the mean limits of HDI intervals are also returned.

Arguments

design

An object created with one of the setup functions.

...

Further arguments.

Examples

Run this code
# Example for a basket trial with Fujikawa's Design
design <- setup_fujikawa(k = 3, p0 = 0.2)
get_details(design = design, n = 20, p1 = c(0.2, 0.5, 0.5), lambda = 0.95,
  epsilon = 2, tau = 0, iter = 100)

Run the code above in your browser using DataLab