Learn R Programming

tipse (version 1.2)

summary.tipse: Summarize Tipping Point Results (ARD Format)

Description

Creates a concise, analysis-results dataset (ARD) from a tipping point analysis. Identifies the tipping point parameter where the upper CL of the hazard ratio crosses 1 and summarizes key metrics.

Usage

# S3 method for tipse
summary(object, ...)

Value

A data frame summarizing:

  • HR - hazard ratio at that tipping point

  • CONFINT - 95% CI at tipping point

  • METHOD - sampling type used

  • ARMIMP - arm imputed

  • TIPPT - parameter where upper CL first crosses 1

  • TIPUNIT - parameter meaning

  • DESC - textual interpretation

Arguments

object

A tipse object returned by tipping_point_model_free or tipping_point_model_based.

...

Additional arguments not used.

Examples

Run this code
cox1 <- survival::coxph(Surv(AVAL, EVENT) ~ TRT01P, data = codebreak200)
result <- tipping_point_model_based(
  dat = codebreak200,
  reason = "Early dropout",
  impute = "docetaxel",
  imputation_model = "weibull",
  J = 10,
  tipping_range = seq(0.1, 1, by = 0.05),
  cox_fit = cox1,
  verbose = TRUE,
  seed = 12345
)
summary(result)

Run the code above in your browser using DataLab