S4BuyseTestmodel.tables {BuyseTest}  R Documentation 
Extract Summary for Class "S4BuyseTest"
Description
Extract a summary of the results from the BuyseTest
function.
Usage
## S4 method for signature 'S4BuyseTest'
model.tables(
x,
percentage = TRUE,
statistic = NULL,
conf.level = NULL,
strata = NULL,
columns = "summary",
...
)
Arguments
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 strataspecific 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 
Author(s)
Brice Ozenne
See Also
BuyseTest
for performing a generalized pairwise comparison.
S4BuyseTestclass
for a presentation of the S4BuyseTest
object.
S4BuyseTestconfint
to output confidence interval and pvalues in a matrix format.
Examples
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")