Package: Rsurrogate 3.1

Rsurrogate: Robust Estimation of the Proportion of Treatment Effect Explained by Surrogate Marker Information

Provides functions to estimate the proportion of treatment effect on the primary outcome that is explained by the treatment effect on the surrogate marker.

Authors:Layla Parast

Rsurrogate_3.1.tar.gz
Rsurrogate_3.1.zip(r-4.5)Rsurrogate_3.1.zip(r-4.4)Rsurrogate_3.1.zip(r-4.3)
Rsurrogate_3.1.tgz(r-4.4-any)Rsurrogate_3.1.tgz(r-4.3-any)
Rsurrogate_3.1.tar.gz(r-4.5-noble)Rsurrogate_3.1.tar.gz(r-4.4-noble)
Rsurrogate_3.1.tgz(r-4.4-emscripten)Rsurrogate_3.1.tgz(r-4.3-emscripten)
Rsurrogate.pdf |Rsurrogate.html
Rsurrogate/json (API)

# Install 'Rsurrogate' in R:
install.packages('Rsurrogate', repos = c('https://laylaparast.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/laylaparast/rsurrogate/issues

Datasets:

On CRAN:

3.12 score 4 packages 11 scripts 220 downloads 25 exports 3 dependencies

Last updated 2 years agofrom:80ac29096e. Checks:OK: 3 NOTE: 4. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 05 2024
R-4.5-winNOTENov 05 2024
R-4.5-linuxNOTENov 05 2024
R-4.4-winNOTENov 05 2024
R-4.4-macNOTENov 05 2024
R-4.3-winOKNov 05 2024
R-4.3-macOKNov 05 2024

Exports:Aug.R.s.surv.estimateaugment.est.vectorcalculate.var.npcensor.weightcumsum2delta.estimatedelta.multiple.survdelta.s.estimatedelta.s.surv.estimatedelta.surv.estimatedelta.t.surv.estimatefieller.calculate.mefieller.cihelper.siKern.FUNme.variance.estimateperturb.nu.vectorpred.smoothpred.smooth.survR.multiple.survR.s.estimateR.s.estimate.meR.s.surv.estimateR.t.surv.estimateVTM

Dependencies:latticeMatrixsurvival

Readme and manuals

Help Manual

Help pageTopics
Calculates the augmented estimator of the proportion of treatment effect explained by the surrogate marker information measured at a specified time and primary outcome information up to that specified timeAug.R.s.surv.estimate
Hypothetical datad_example
Hypothetical survival data with multiple surrogate markersd_example_multiple
Hypothetical survival datad_example_surv
Calculates treatment effectdelta.estimate
Calculates robust residual treatment effect accounting for multiple surrogate markers at a specified time and primary outcome information up to that specified timedelta.multiple.surv
Calculates model-based or robust residual treatment effectdelta.s.estimate
Calculates robust residual treatment effect accounting for surrogate marker information measured at a specified time and primary outcome information up to that specified timedelta.s.surv.estimate
Calculates treatment effect in a survival settingdelta.surv.estimate
Calculates robust residual treatment effect accounting only for primary outcome information up to a specified timedelta.t.surv.estimate
Constructs Fieller's confidence interval.fieller.ci
Estimates measurement error variance given replicate data.me.variance.estimate
Calculates the proportion of treatment effect explained by multiple surrogate markers measured at a specified time and primary outcome information up to that specified timeR.multiple.surv
Calculates the proportion of treatment effect explainedR.s.estimate
Calculates the proportion of treatment effect explained correcting for measurement error in the surrogate markerR.s.estimate.me
Calculates the proportion of treatment effect explained by the surrogate marker information measured at a specified time and primary outcome information up to that specified timeR.s.surv.estimate
Calculates the proportion of treatment effect explained by the primary outcome information up to a specified timeR.t.surv.estimate