Package: OnlineSurr 0.0.6
OnlineSurr: Surrogate Evaluation for Jointly Longitudinal Outcome and Surrogate
Tools for surrogate evaluation in longitudinal studies using state-space models as proposed in Santos Jr. and Parast (2026)<doi:10.48550/arXiv.2604.12882>. The package estimates treatment effects over time with and without adjustment for surrogate information, summarizes the proportion of treatment effect explained by a longitudinal surrogate, quantifies uncertainty via bootstrap resampling, and provides plotting and summary utilities for fitted models.
Authors:
OnlineSurr_0.0.6.tar.gz
OnlineSurr_0.0.6.zip(r-4.7-any)OnlineSurr_0.0.6.zip(r-4.6-any)OnlineSurr_0.0.6.zip(r-4.5-any)
OnlineSurr_0.0.6.tgz(r-4.6-any)OnlineSurr_0.0.6.tgz(r-4.5-any)
OnlineSurr_0.0.6.tar.gz(r-4.7-any)OnlineSurr_0.0.6.tar.gz(r-4.6-any)
OnlineSurr_0.0.6.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
OnlineSurr/json (API)
| # Install 'OnlineSurr' in R: |
| install.packages('OnlineSurr', repos = c('https://silvaneojunior.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/silvaneojunior/onlinesurr/issues
Pkgdown/docs site:https://silvaneojunior.github.io
- sim_onlinesurr - Simulated longitudinal surrogate dataset for 'OnlineSurr'
Last updated from:53b3adfd00. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 170 | ||
| source / vignettes | OK | 235 | ||
| linux-release-x86_64 | OK | 174 | ||
| macos-release-arm64 | OK | 125 | ||
| macos-oldrel-arm64 | OK | 127 | ||
| windows-devel | OK | 128 | ||
| windows-release | OK | 104 | ||
| windows-oldrel | OK | 118 | ||
| wasm-release | OK | 131 |
Exports:fit.surrlaggedstime_homo_test
Dependencies:clicpp11dplyrextraDistrfarvergenericsggplot2gluegtableisobandkDGLMlabelinglatex2explifecyclemagrittrpillarpkgconfigpurrrR6rbibutilsRColorBrewerRcppRcppArmadilloRcppParallelRdpackRfastrlangS7scalesstringistringrtibbletidyrtidyselectutf8vctrsviridisLitewithrzigg
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Fit marginal and conditional state-space models for longitudinal surrogate evaluation | fit.surr |
| Compute lagged values of a vector | lagged |
| Plot time-varying PTE measures and treatment effects from a '"fitted_onlinesurr"' object | plot.fitted_onlinesurr |
| Construct a B-spline basis matrix | s |
| Simulated longitudinal surrogate dataset for `OnlineSurr` | sim_onlinesurr |
| Summarize a '"fitted_onlinesurr"' object | summary.fitted_onlinesurr |
| Test time-homogeneity of the PTE | time_homo_test |
