Learn R Programming

brada (version 1.0)

summary.brada: summary.brada

Description

Prints the results of a Bayesian response-adaptive design analysis.

Usage

# S3 method for brada
summary(object, ...)

Value

Prints the results onto the console.

Arguments

object

An Object of class "brada".

...

Additional parameters, see "summary(object, ...)".

Author

Riko Kelter

Details

Summarises the results of a Bayesian response-adaptive design analysis.

Examples

Run this code
pp_design = brada(Nmax = 40, batchsize = 5, nInit = 10, 
               p_true = 0.2 , p0 = 0.2, p1 = 0.2, 
               nsim = 100,
               a0 = 1, b0 = 1, 
               theta_T = 0.90, theta_L = 0.1, theta_U = 1, 
               method = "PP",
               cores = 2)
summary(pp_design)

Run the code above in your browser using DataLab