coxstream: Memory-Efficient Cox Proportional Hazards via Streaming Newton-Raphson

Fits the Cox proportional hazards model using a single descending-order pass per Newton-Raphson iteration. Peak RAM is O(p^2) regardless of the number of rows, making it suitable for datasets that do not fit in memory. Produces identical coefficients to survival::coxph() with Efron tie correction.

Package details

AuthorTommy Carstensen [aut, cre] (ORCID: <https://orcid.org/0000-0002-3672-9931>), Apache Software Foundation [cph, ctb] (vendored Arrow C Data/Stream interface header (src/arrow_c_abi.h), Apache-2.0)
MaintainerTommy Carstensen <cran@tommycarstensen.com>
LicenseMIT + file LICENSE
Version0.1.0
URL https://github.com/tommycarstensen/coxstream-r
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("coxstream")

Try the coxstream package in your browser

Any scripts or data that you put into this service are public.

coxstream documentation built on June 20, 2026, 5:07 p.m.