# NOT RUN {
# Create a plot for a multistage test with a 1-3-3 design
data('example_transition_matrix')
transition_matrix_plot(example_transition_matrix, n_stages = 3)
# }
# NOT RUN {
# Save the plot as a png file.
png("Example 1-3-3 Transition Matrix Plot.png")
transition_matrix_plot(example_transition_matrix, n_stages = 3)
title("Transition Matrix for a 1-3-3 Design MST")
dev.off()
# Use the `results` object from the `mixed_adaptive_test()` example to create
# a transition matrix plot and save as a .pdf file.
pdf("MAT Transition Matrix.pdf")
transition_matrix_plot(results)
title("Transition Matrix from the mixed_adaptive_test Example")
dev.off()
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab