gngplot | R Documentation |
Plot the decision matrix
gngplot(pptabx, groupsize)
pptabx |
the result returned by |
groupsize |
additional number of subjects needed for each interim after the first interim |
a plot of decision matrix (ggplot object)
go_nogo <- bayes_pred_go_nogo(nmax = 40, nmin = 1, p0 = 0.3, p1 = 0.5,
thetats = 0.8, thetatf = 0.1, thetau = 0.95, thetal1 = 0.95, a = 1, b = 1)
gngplot(go_nogo, groupsize = 5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.