as_table | R Documentation |
Create a tibble to summarize an object; currently only implemented for
gsBinomialExact
.
as_table(x, ...)
## S3 method for class 'gsBinomialExact'
as_table(x, ...)
x |
Object to be summarized. |
... |
Other parameters that may be specific to the object. |
Currently only implemented for gsBinomialExact
objects.
Creates a table to summarize an object.
For gsBinomialExact
, this summarized operating characteristics
across a range of effect sizes.
A tibble which may have an extended class to enable further output processing.
vignette("binomialSPRTExample")
b <- binomialSPRT(p0 = .1, p1 = .35, alpha = .08, beta = .2, minn = 10, maxn = 25)
b_power <- gsBinomialExact(
k = length(b$n.I), theta = seq(.1, .45, .05), n.I = b$n.I,
a = b$lower$bound, b = b$upper$bound
)
b_power %>%
as_table() %>%
as_gt()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.