Description Usage Arguments Value Examples

`nTTP_summary`

generates the mean nTTP score and the probability of
observing DLT for all doses and cycles

1 | ```
nTTP_summary(Tox.prob.M, nTTP.all, wm)
``` |

`Tox.prob.M` |
Toxicity probability matrix with 4 dimension: dose,
cycle, type, grade. Tox.prob.M can be the output of the build-in matrix
of function |

`nTTP.all` |
The output of |

`wm` |
(numerical matrix) Toxicity weighted matrix, with row be the type of the toxicity and column be the toxicity grade |

`mnTTP.M` |
matrix of mean nTTP for all doses and cycles |

`pDLT.M` |
matrix of probability of observing DLT for all doses and cycles |

1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ```
data("prob")
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 = TRUE, ncol = 5) # weighted matrix for toxicity matrix
# nrow = No.of type; ncol = No. of grade
toxmax <- 2.5
nTTP.all <- nTTP.array(wm, toxmax)
tox.matrix <- prob["MTD4", "flat", , , , ]
nTTP_summary(tox.matrix, nTTP.all, wm)
``` |

phase1PRMD documentation built on May 1, 2019, 9:26 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.