S4BuyseTest-model.tables | R Documentation |
Extract a summary of the results from the BuyseTest
function.
## S4 method for signature 'S4BuyseTest'
model.tables(
x,
percentage = TRUE,
statistic = NULL,
conf.level = NULL,
strata = NULL,
columns = "summary",
...
)
x |
output of |
percentage |
[logical] Should the percentage of pairs of each type be displayed ? Otherwise the number of pairs is displayed. |
statistic |
[character] the statistic summarizing the pairwise comparison:
|
conf.level |
[numeric] confidence level for the confidence intervals.
Default value read from |
strata |
[logical] should the strata-specific results be displayed or the results pooled across strata?
Can also be |
columns |
[character vector] subset of columns to be output (e.g. |
... |
arguments to be passed to |
Brice Ozenne
BuyseTest
for performing a generalized pairwise comparison.
S4BuyseTest-class
for a presentation of the S4BuyseTest
object.
S4BuyseTest-confint
to output confidence interval and p-values in a matrix format.
library(data.table)
dt <- simBuyseTest(1e2, n.strata = 3)
## Not run:
BT <- BuyseTest(treatment ~ TTE(eventtime, status = status) + Bin(toxicity), data=dt)
## End(Not run)
model.tables(BT)
model.tables(BT, percentage = FALSE)
model.tables(BT, statistic = "winRatio")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.