update_p0 | R Documentation |
After running either 'mem_mcmc' or 'mem_exact', the test can be updated without rerunning the entire analysis. This function provides updating of both the null response rate along with the alternative rerunning relevant test.
update_p0(res, p0 = 0.15, alternative = "greater")
res |
the result of an mem analysis. |
p0 |
the null response rate for the poster probability calculation (default 0.15). |
alternative |
the alternative case definition (default greater) |
## Not run:
# Create an MEM analysis of the Vemurafenib trial data.
data(vemu_wide)
mem_analysis <- mem_exact(
vemu_wide$responders,
vemu_wide$evaluable,
vemu_wide$baskets
)
# Update the null from p0 = 0.15 the default, to p = 0.25.
update_p0(mem_analysis, 0.20)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.