
Print Method for Sequential Analysis Summaries
Source:R/print.simsummary_fast.R
print.simsummary_fast.RdFormats an object returned by simsummary_fast in the style of a
group-sequential design report. After a header with the simulation count and
the boundary settings, two look-by-look tables are shown: a stopping-boundary
table (information fraction, events, sample size, the efficacy and futility
boundaries, and the cumulative efficacy crossing probability) and an
analysis-timing table (sample size, events, dropouts, pipeline, analysis time,
and the per-look efficacy and futility crossing probabilities). An overall
block reports the rejection rate and the expected counts and timing at the
stopping look.
Usage
# S3 method for class 'simsummary_fast'
print(x, digits = 4, ...)Arguments
- x
An object of class
"simsummary_fast"fromsimsummary_fast.- digits
A single positive integer, the number of decimal places used for the printed probabilities. Defaults to 4.
- ...
Further arguments, currently ignored.
Details
Column labels follow the convention of group-sequential design software:
Events (s), Sample (n), Dropouts (d), Pipeline
(the enrolled count minus events minus dropouts), Analysis Time (mean
calendar time), and Info. Frac. (the information fraction, computed as
the mean events at a look divided by the mean events at the final look, or
from look.value when no event count is available). Probabilities are
printed to digits decimal places and counts and times to fewer. Because
the summary is a Monte Carlo estimate under a single data-generating truth, it
does not carry the separate null and alternative columns or the alpha and beta
spending of an analytic design report. The underlying object is an ordinary
data frame, so the unrounded values remain available by subsetting it directly.