Description Usage Arguments Value See Also Examples
View source: R/plot.ph2rand_pmf.R
plot.ph2rand_pmf
plots the terminal points of a design returned by
pmf
.
1 2 |
x |
An object of class |
output |
A |
... |
Not currently used. |
If output = TRUE
, a list
containing each of the
input parameters along with a plot in the slot $plot
, which gives the
produced plot of the terminal points.
des_one_stage
, des_two_stage
,
pmf
, plot.ph2rand_des
.
1 2 3 4 5 6 7 8 9 10 11 12 | # The default two-stage design
des <- des_two_stage()
# Its probability mass function under the uninteresting and interesting
# scenarios
pmf <- pmf(des)
# The plot of them
plot(pmf)
# The same probability mass functions, conditioning on the trial ending in
# stage 2
pmf <- pmf(des, k = 2)
# The plot of them
plot(pmf)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.