Skip to content

cohetsurr

2.0Package record

Assessing Complex Heterogeneity in Surrogacy

0packages depend
2.3Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

Provides functions to assess complex heterogeneity in the strength of a surrogate marker with respect to multiple baseline covariates, in either a randomized treatment setting or observational setting. For a randomized treatment setting, the functions assess and test for heterogeneity using both a parametric model and a semiparametric two-step model. More details for the randomized setting are available in: Knowlton, R., Tian, L., & Parast, L. (2025). "A General Framework to Assess Complex Heterogeneity in the Strength of a Surrogate Marker," Statistics in Medicine, 44(5), e70001 doi:10.1002/sim.70001. For an observational setting, functions in this package assess complex heterogeneity in the strength of a surrogate marker using meta-learners, with options for different base learners. More details for the observational setting will be available in the future in: Knowlton, R., Parast, L. (2025) "Assessing Surrogate Heterogeneity in Real World Data Using Meta-Learners." A tutorial for this package can be found at https://www.laylaparast.com/cohetsurr.

Install

Health

CRAN checks
13OK
Slowest check: 1.7 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 2.0
READMENoVignettesNoNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
Help pages
10 (5 internal)
Examples that run
100%5 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
20%

Downloads

2.3K
CRAN downloads in the past year
Rank #18,371 · ~6/day · ~194/mo
Daily download trend is not available in this view yet.
25330 days
71390 days
2.3K1 year
Compare downloads with other packages →
Also on84 r2u8 autocran

Dependencies

Declared dependencies
3 external dependencies (excludes base and recommended)

Installing cohetsurr adds 9 packages (8 with compiled code, 7.7 MB of source tarballs). Heaviest: Rcpp 1.8 MB, RcppEigen 1.7 MB, sandwich 1.4 MB.

Depends (0)
none
Imports (5)
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (2)
Author, Maintainer since 1.1 (2025) · added in 1.1

Previously maintained by Rebecca Knowlton (1.0).

Releases (3)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 2.0Latest
    record
    2025-04-11 · current release · diff ↗ ·
    added 1 export
    obs.het.surr
  • R
    R 4.5.0 released · 2025-04-11
  • 1.1
    record
    2025-03-06 · diff ↗
  • 1.0
    record
    2024-11-21
  • R
    R 4.4.0 released · 2024-04-24

Package metadata

First published
2024-11-21
Total releases
3 / 2 yrs
License
GPL
Bundled data
168 KB / 3 files
Download size
178 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("cohetsurr")
Parast, L., & Knowlton, R. (2025). cohetsurr: Assessing Complex Heterogeneity in Surrogacy (Version 2.0) [Computer software]. https://doi.org/10.32614/CRAN.package.cohetsurr

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

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 cohetsurr version 2.0 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-25, 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