plot.RunRMDVal {phase1RMD} | R Documentation |
plot nTTP Toxicity-based in cycle 1 for all doses.
Description
plot.RunRMDVal
plot the dose-nTTP estimation in cycle based on the RunRMD estimation.
Usage
## S3 method for class 'RunRMDVal'
plot(x, ...)
Arguments
x |
The output of RunRMD. An S3 object of 'RunRMDVal' class. |
... |
Other plot parameters. |
Details
The plot.RunRMDVal
function uses the patient data structure patdata
to fit the linear mixed model as specified by formula
based on the prior distributions as specified by control
. The parameters of the MCMC simulation are specified by iter
: the number of iterations, burnin
: burn-ins, thin
: thinning parameter and chains
: number of chains in the MCMC simulation. The target nTTP score is defined by tox.target
, default = 0.28.
Value
This function plots the dose-nTTP estimation in cycle based on the RunRMD estimation.
Examples
# Setup the prior distributions for the phase I dose-finding model:
control <- list(
beta.dose = parm("normal", mean = 0, var = 1000),
beta.other = parm("normal", mean = 0, var = 1000 ),
gamma = parm("normal", mean = 0, var = 100 ),
s2.gamma = parm("invgamma", shape = 0.001, scale = 0.001),
s2.epsilon = parm("invgamma", shape = 0.001, scale = 0.001)
)
# Load the example patient toxicity data:
#data(patdata)
# Estimate the dose-recommendation of the next patient cohort based on the toxicity data:
#res <- RunRMD(data=patdata, control=control, tox.target=0.28,
# iter=2000, burnin=500, thin=1, chains=1)
#plot(res);
[Package phase1RMD version 1.0.9 Index]