Skip to content

SurrogateTest

1.3

Early Testing for a Treatment Effect using Surrogate Marker Information

0packages depend
2.4Kdownloads / year
test coverage
11/13checks pass

Overview

About
Maintained by Layla ParastFirst published 2017-10-294 releasesCRAN page ↗

Provides functions to test for a treatment effect in terms of the difference in survival between a treatment group and a control group using surrogate marker information obtained at some early time point in a time-to-event outcome setting. Nonparametric kernel estimation is used to estimate the test statistic and perturbation resampling is used for variance estimation. More details will be available in the future in: Parast L, Cai T, Tian L (2019) ``Using a Surrogate Marker for Early Testing of a Treatment Effect" Biometrics, 75(4):1253-1263. doi:10.1111/biom.13067.

Install

Health

CRAN checks
2NOTE11OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-clang
  • NOTE r-devel-linux-x86_64-debian-gcc
Slowest check: 1.9 min · r-devel-linux-x86_64-fedora-clang
Code health
None
Tests · ratio 0.00
not tracked
Coverage
None
Vignettes
No
README
2
Dependencies · direct
Check history
  • NOTE2026-03-10
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Downloads

2.4K
CRAN downloads in the past year
Rank #17,966 · ~7/day · ~200/mo
SurrogateTest
Daily download trend is not available in this view yet.
25830 days
64890 days
2.4K1 year
Compare downloads with other packages →
Also on93 r2u24 autocran

Dependencies

Declared dependencies
0 external dependencies (excludes base and recommended)
Depends (0)
none
Imports (2)
statssurvival
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Code Composition
Rd 1,249 (76%)R 399 (24%)
Code characteristics
Cyclomatic complexity
4.0 median / 30 max

Test coverage

Line coverage

Expression

Tests / Examples

Functions

15 0 exported

Complexity

5.3 avg / 30 max

Call network

15 nodes / 23 edges

Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.

Loading call graph…

Lowest coverage

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

People & History

People (0)

Author records are not tracked yet for this package.

Release timeline

4 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 1.3Latest
    2021-11-16 · current release · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 1.2
    2020-03-29 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 1.1
    2019-03-28 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 1.0
    2017-10-29
  • R
    R 3.4.0 released · 2017-04-21

Package metadata

First published
2017-10-29
Total releases
4 / 9 yrs
License
GPL
Bundled data
58 KB / 2 files
Download size
74 KB
Installed size
not tracked yet
With dependencies
not tracked yet