Learn R Programming

tipse (version 1.2)

assess_plausibility: Assess Clinical Plausibility of Imputation Results

Description

This function facilitate the evaluation of clinical plausibility at the tipping point. It provides a text summary comparing event rates, follow-up duration, or hazard ratios between treatment arms depending on the imputation method and arm specified.

Usage

assess_plausibility(tipse, verbose = TRUE)

Value

A character string summarizing the key information to facilitate clinical plausibility assessment based on the imputation scenario.

Arguments

tipse

A tipse object returned by one of tipping_point_model_free or tipping_point_model_based.

verbose

Logical. If TRUE, prints assessment details.

Examples

Run this code
cox1 <- survival::coxph(Surv(AVAL, EVENT) ~ TRT01P, data = codebreak200)
result <- tipping_point_model_free(
  dat = codebreak200,
  reason = "Early dropout",
  impute = "docetaxel",
  cox_fit = cox1,
  method = "random sampling"
)

assess_plausibility(result)

Run the code above in your browser using DataLab