get_results {basksim}R Documentation

Get Results for Simulation of Basket Trial Designs

Description

Get Results for Simulation of Basket Trial Designs

Usage

get_results(design, ...)

Arguments

design

An object created with one of the setup functions.

...

Further arguments.

Value

A matrix of results with iter rows. A 0 means, that the null hypothesis that the response probability exceeds p0 was not rejected, a 1 means, that the null hypothesis was rejected.

Examples

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

[Package basksim version 1.0.0 Index]