ciftest_iteration_setup: Build a finite-iteration time-directed Fine-Gray score

View source: R/ciftest-phase2.R

ciftest_iteration_setupR Documentation

Build a finite-iteration time-directed Fine-Gray score

Description

iterations = 0 is intentionally handled by the closed-form caller. This function computes one or more empirical Appendix-E refinements and maps the resulting full-data direction to observed-data score contributions.

Usage

ciftest_iteration_setup(
  base,
  working,
  t,
  epsilon,
  x,
  exposure,
  weights = rep.int(1, length(t)),
  code.event1 = 1L,
  code.event2 = 2L,
  code.censoring = 0L,
  prob.bound = 1e-07,
  prob.truncation = NULL
)

cifmodeling documentation built on Nov. 11, 2026, 9:06 a.m.