| convert_to_fujikawa_x | R Documentation |
These convenience functions can convert objects from the baskexact,
basksim and baskwrap into one another.
convert_to_fujikawa_x(design)
convert_to_baskexact(design)
convert_to_basksim(design)
design |
An R object. |
convert_to_fujikawa_x() can currently convert objects of class
"OneStageBasket" from the baskexact package to objects of class
fujikawa_x. The functions convert_to_baskexact() and
convert_to_basksim() can convert fujikawa_x objects to baskexact
and basksim objects, respectively.
An object of class fujikawa_x.
design <- baskexact::setupOneStageBasket(k = 3, p0 = 0.2)
design_fujx <- convert_to_fujikawa_x(design)
design_bsim <- convert_to_basksim(design_fujx)
# Below should be identical to initial design
design_bx <- convert_to_baskexact(design_fujx)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.