nTTP.indiv.sim: Simulate full trial (both stages) x times when using nTTP to...

Description Usage Arguments Value

View source: R/nTTP.indiv.sim.R

Description

Results are displayed in a matrix format, where each row represents one trial simulation

Usage

1
nTTP.indiv.sim(W, TOX, ntox, dose)

Arguments

W

matrix defining burden weight of each grade level for all toxicity types. The dimensions are ntox rows by 5 columns (for grades 0-4). See Ezzalfani et al. (2013) for details.

TOX

matrix array of toxicity probabilities. There should be ntox matrices. Each matrix represents one toxicity type, where probabilities of each toxicity grade are specified across each dose. Each matrix has the same dimensions: n rows, representing number of doses, and 5 columns (for grades 0-4). Probabilities across each dose (rows) must sum to 1. See Ezzalfani et al. (2013) for details.

ntox

number (integer) of different toxicity types

dose

number of doses to be tested (scalar)

Value

List of the following objects:


iAdapt documentation built on Aug. 6, 2021, 9:08 a.m.