Learn R Programming

phase1RMD (version 1.0.9)

Tox2nTTP: Compute the nTTP score baed on the observed toxicity.

Description

Tox2nTTP use the design parameters to compute the nTTP score baed on the observed toxicity.

Usage

Tox2nTTP(tox = c(1,2,0),
 wm = matrix(c(0, 0.5, 0.75, 1 , 1.5,
 0, 0.5, 0.75, 1 , 1.5,
 0, 0 , 0 , 0.5, 1 ),
 byrow = T, ncol = 5),
 toxmax = 2.5)

Arguments

tox

Toxicity grades for the toxicity types.

wm

Clinical weight matrix, where toxicity types define the rows while the toxicity grades define the columns. Usually solicited from physicians.

toxmax

The normalization constant used in computing nTTP score. For details, see Ezzalfani et al(2013).

Value

nTTP value.

Details

The Tox2nTTP function calculates the nTTP values based on the weight matrix.

Examples

Run this code
# NOT RUN {
#data(tox_matrix)

# Simulate the operating characteristics of clinical trials:
#Tox2nTTP(tox = c(1,2,0))
 
# }

Run the code above in your browser using DataLab