Skip to content

surtvep

1.0.0

Cox Non-Proportional Hazards Model with Time-Varying Coefficients

0packages depend
2.1Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Lingfeng LuoFirst published 2023-10-171 releasesCRAN page ↗GitHub ↗

Fit Cox non-proportional hazards models with time-varying coefficients. Both unpenalized procedures (Newton and proximal Newton) and penalized procedures (P-splines and smoothing splines) are included using B-spline basis functions for estimating time-varying coefficients. For penalized procedures, cross validations, mAIC, TIC or GIC are implemented to select tuning parameters. Utilities for carrying out post-estimation visualization, summarization, point-wise confidence interval and hypothesis testing are also provided. For more information, see Wu et al. (2022) <doi: 10.1007/s10985-021-09544-2> and Luo et al. (2023) doi:10.1177/09622802231181471.

Install

Health

CRAN checks
13OK
Slowest check: 4.3 min · r-oldrel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
7
Dependencies · direct
Check history
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-07
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-04-22
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
Show 1 earlier snapshots
  • NOTE2026-03-10
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 625 wordsVignettesNopkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
29%

Downloads

2.1K
CRAN downloads in the past year
Rank #16,658 · ~6/day · ~173/mo
Daily download trend is not available in this view yet.
23630 days
69290 days
2.1K1 year
Compare downloads with other packages →
Also on405 r2u12 autocran

Repository

Repository
1Stars
4Forks
0Open issues
0Open PRs
2Releases
198Commits
4Contributors
License GPL-3.0 · 198 commits · Last activity 2025-12-09

Stars over time

2024-09-06 · 12026-07-07 · 1

Repository practices

Upstream repositoryBeta

2 development-tooling and community-health practices detected across 2 families in the upstream repository

Checks run against github.com/um-kevinhe/surtvep on 2026-07-19.

Continuous integration (1)
GitHub Actions
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
9 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.0
Imports (7)
LinkingTo (2)
Suggests (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Code Composition
C++ 3,167 (44%)R 2,773 (39%)Rd 1,172 (16%)C 29 (0%)
Code characteristics
Object systems
S35
Cyclomatic complexity
8.0 median / 33 max

Test coverage

Line coverage

Expression

Tests / Examples

Functions

56 9 exported

Complexity

10 avg / 33 max

Call network

56 nodes / 49 edges

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

Datasets

Bundled datasets · 1
NameClassRows × ColsAlso ships in
supportdata.frame9,104 × 34in 3 packages

People & History

People (3)
Maintainer (1)
Author, Maintainer
Authors (3)
Author, Maintainer
Author
Author
Package Timeline

1 release. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.0.0Latest
    2026-03-10 · current release
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2023-10-17
Total releases
1 / 3 yrs
License
GPL-3 OSI
Minimum R
≥ 4.0
Bundled data
302 KB / 4 files
Download size
365 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →