Description Usage Arguments Value See Also Examples
sim
estimated the operating characteristics (via simulation) of a
design returned by des_one_stage
or
des_two_stage
, under given response rate scenarios (see
pi
).
1 2 3 4 5 6 7 |
des |
An object of class |
pi |
A |
k |
A |
replicates |
A |
summary |
A |
A list
with additional class "ph2rand_sim"
,
containing each of the input parameters along with a tibble in the slot
$sim
, which gives the estimated operating characteristics.
1 2 3 4 5 6 7 8 | # The default two-stage design
des <- des_two_stage()
# Its operating characteristics under the uninteresting and interesting
# scenarios
sim <- sim(des)
# The same operating characteristics, conditioning on the trial ending in
# stage 2
sim <- sim(des, k = 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.