Assessing Complex Heterogeneity in Surrogacy
Overview
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
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- 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
Dependencies
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.
Code & Tests
Datasets
People & History
Previously maintained by Rebecca Knowlton (1.0).
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 2.0Latest
- RR 4.5.0 released · 2025-04-11
- 1.12025-03-06 · diff ↗
- 1.02024-11-21
- RR 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")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.
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.