OutputStats.initialising {BayesianPlatformDesignTimeTrend}R Documentation

OutputStats.initialising

Description

This function initializes the output matrix including all evaluation metrics based on input information

Usage

OutputStats.initialising(variable.inf, reg.inf, ns, K)

Arguments

variable.inf

The parameter information in the model

reg.inf

The model information. For the fixed effect model, the input of reg.inf can be main, main + stage_continuous, main * stage_continuous, main + stage_discrete, main * stage_discrete. For the mixed effect model, the reg.inf is invalid.

ns

A vector of accumulated number of patient at each stage

K

Total number of arm including control

Value

The empty output matrix including different evaluation metrics.

Author(s)

Ziyan Wang

Examples

OutputStats.initialising(
    variable.inf = "Fixeffect",
    reg.inf = "main",
    ns = c(15, 30, 45, 60, 75),
    K = 2)

[Package BayesianPlatformDesignTimeTrend version 1.2.3 Index]