Skip to content

longsurr

1.1

Longitudinal Surrogate Marker Analysis

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

Overview

About
Maintained by Layla ParastFirst published 2022-09-292 releasesCRAN page ↗

Assess the proportion of treatment effect explained by a longitudinal surrogate marker as described in Agniel D and Parast L (2021) doi:10.1111/biom.13310; and estimate the treatment effect on a longitudinal surrogate marker as described in Wang et al. (2025) doi:10.1093/biomtc/ujaf104. A tutorial for this package can be found at https://www.laylaparast.com/longsurr.

Install

Health

CRAN checks
13OK
Slowest check: 3.5 min · r-oldrel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
25
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
97%
Return-value docs
100%
References docs
38%

Downloads

2.8K
CRAN downloads in the past year
Rank #16,783 · ~8/day · ~236/mo
Daily download trend is not available in this view yet.
16430 days
63590 days
2.8K1 year
Compare downloads with other packages →
Also on127 r2u16 autocran

Dependencies

Declared dependencies
19 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.5.0
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (3)
Maintainer (1)
Author, Maintainer
Authors (3)
Author, Maintainer
Author · added in 1.1
Package Timeline

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

  • R
    R 4.6.0 released · 2026-04-24
  • 1.1Latest
    2025-11-09 · current release · diff ↗
  • 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
  • 1.0
    2022-09-29
  • R
    R 4.2.0 released · 2022-04-22

Package metadata

First published
2022-09-29
Total releases
2 / 4 yrs
License
GPL
Minimum R
≥ 3.5.0
Bundled data
114 KB / 2 files
Download size
125 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("longsurr")
Parast, L., Agniel, D., & Wang, X. (2025). longsurr: Longitudinal Surrogate Marker Analysis (Version 1.1) [Computer software]. https://doi.org/10.32614/CRAN.package.longsurr

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for longsurr version 1.1 [Data set]. HJJB, LLC. Data release v2026-08-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy