surv_control: Control Survival Analysis Root Finding

View source: R/survival.R

surv_controlR Documentation

Control Survival Analysis Root Finding

Description

Control parameters for the root-finding algorithm used by robin_surv() to estimate the log hazard ratio.

Usage

surv_control(tol = .Machine$double.eps^0.25, maxiter = 1000, trace = 0)

Arguments

tol

(number) The desired accuracy, passed to stats::uniroot().

maxiter

(count) The maximum number of iterations, passed to stats::uniroot().

trace

(count) Tracing level, passed to stats::uniroot().

Value

A named list with elements tol, maxiter, and trace.


RobinCar2 documentation built on Aug. 23, 2026, 1:06 a.m.