nTTP.indiv.sim {iAdapt} | R Documentation |
Simulate full trial (both stages) x times when using nTTP to measure toxicity
Description
Results are displayed in a matrix format, where each row represents one trial simulation
Usage
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:
sim.Y - estimated efficacy per each dose assignment
sim.d - dose assignment for each patient in the trial