Randomisation.inf {BayesianPlatformDesignTimeTrend}R Documentation

Randomisation.inf

Description

This function checks the validity of the randomisation information input

Usage

Randomisation.inf(
  Random.inf = list(Fixratio = FALSE, Fixratiocontrol = NA, BARmethod = "Thall",
    Thall.tuning.inf = list(tuningparameter = "Fixed", fixvalue = 1), Trippa.tuning.inf =
    list(a = 10, b = 0.75))
)

Arguments

Random.inf

A list of adaptive randomisation information. 'Fixratio' a indicator of whether the randomisation process uses fix ratio. Default is FALSE. 'Fixratiocontrol' the numerical value indicating the randomisation weight of the control arm compared to the treatment arms. Default is NA for Fixratio = FALSE. 'BARmethod' the Bayesian adaptive randomisation type. Default is "Thall" indicating the use of Thall's approach in the randomisation process. The other value is 'Trippa'. 'Thall.tuning.inf' the list of tuning parameter for Thall's approach including 'tuningparameter' (Default is "Fixed" indicating that the tuning paramter is fixed for all stages) and 'fixvalue' (Default is 1).

Value

A list of input randomisation information

Author(s)

Ziyan Wang

Examples

Randomisation.inf(Random.inf = list(
Fixratio = FALSE,
Fixratiocontrol = NA,
BARmethod = "Thall",
Thall.tuning.inf = list(tuningparameter = "Fixed",  fixvalue = 1),
Trippa.tuning.inf = list(a = NA, b = NA)
))

[Package BayesianPlatformDesignTimeTrend version 1.2.3 Index]