coxstream
0.1.0Memory-Efficient Cox Proportional Hazards via Streaming Newton-Raphson
0packages depend
401downloads / year
88.2%test coverage
13/13checks pass
Overview
About
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.
Install
Health
CRAN checks
13OK
Slowest check: 2.4 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.27
88.2%
Coverage · measured lines
100%
Documentation · exports
None
Vignettes
Yes
README
2
Dependencies · direct
Check history
- OK2026-06-216 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Downloads
401
CRAN downloads in the past year
Rank #23,885 · ~1/day · ~33/mo
Daily download trend is not available in this view yet.
40130 days
40190 days
4011 year
Also on11 r2u2 autocran
Repository
Repository
0Stars
0Forks
0Open issues
0Open PRs
1Releases
2Commits
1Contributors
2 commits · Last activity 2026-06-14
Releases over time
2026-06-14 · 12026-07-07 · 1
Dependencies
Declared dependencies
4 external dependencies (excludes base and recommended)
Depends (0)
none
Imports (2)
Rcppsurvival
LinkingTo (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect
Nothing depends on this yet.
Code & Tests
Code Composition
C++ 553 (46%)R 418 (34%)Rd 151 (12%)C 93 (8%)
Code characteristics
Object systems
S33
- Cyclomatic complexity
- 1.0 median / 10 max
- Test cases
- 6 / 0.27 per code line
- Documented parameters
- 100%
Test coverage
Line coverage
88%
Expression
89.2%
Tests / Examples
88.2% / 28% ex
Functions
22 2 exported
Complexity
2.4 avg / 10 max
Call network
22 nodes / 9 edges
Call graph
Open call graph →Loading call graph…
Lowest coverage
22 functions| Function | Cyclo | Coverage |
|---|---|---|
| print.coxstream | 1 | 0% |
| coxstream_arrow exp | 10 | 91% |
| coxstream exp | 5 | 98% |
| coef.coxstream | 1 | 100% |
| vcov.coxstream | 1 | 100% |
People & History
People (2)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Contributors (1)
Copyright holder, Contributor
Copyright holders (1)
Copyright holder, Contributor
Release timeline
1 release. R releases are shown for context.
- 0.1.0Latest2026-06-20 · current release
- RR 4.6.0 released · 2026-04-24
0 of 2 selectedCompare selected
Package metadata
- First published
- 2026-06-20
- Total releases
- 1 / 1 yrs
- License
- MIT + file LICENSE OSI
- Download size
- not tracked yet
- Installed size
- not tracked yet
- With dependencies
- not tracked yet