gs_bound_summary: Bound summary table

View source: R/gs_bound_summary.R

gs_bound_summaryR Documentation

Bound summary table

Description

Summarizes the efficacy and futility bounds for each analysis.

Usage

gs_bound_summary(
  x,
  digits = 4,
  ddigits = 2,
  tdigits = 0,
  timename = "Month",
  alpha = NULL
)

Arguments

x

Design object.

digits

Number of digits past the decimal to be printed in the body of the table.

ddigits

Number of digits past the decimal to be printed for the natural parameter delta.

tdigits

Number of digits past the decimal point to be shown for estimated timing of each analysis.

timename

Text string indicating time unit.

alpha

Vector of alpha values to compute additional efficacy columns.

Value

A data frame

See Also

gsDesign::gsBoundSummary()

Examples

library(gsDesign2)

x <- gs_design_ahr(info_frac = c(.25, .75, 1), analysis_time = c(12, 25, 36))
gs_bound_summary(x)

x <- gs_design_wlr(info_frac = c(.25, .75, 1), analysis_time = c(12, 25, 36))
gs_bound_summary(x)

# Report multiple efficacy bounds (only supported for AHR designs)
x <- gs_design_ahr(analysis_time = 1:3*12, alpha = 0.0125)
gs_bound_summary(x, alpha = c(0.025, 0.05))


gsDesign2 documentation built on June 8, 2025, 12:26 p.m.