Skip to contents

Delegates to survival::survfit() with Surv(left, right, type = "interval2"). Hand-rolled EM is left as a stub for environments without survival.

Usage

morie_survival_turnbull(left, right, max_iter = 200, tol = 1e-06)

Arguments

left

Left-bracket times for interval-censored data (morie_survival_turnbull).

right

Right-bracket times for interval-censored data.

max_iter

Iteration cap for the Turnbull NPMLE EM loop.

tol

Convergence tolerance for the Turnbull EM.