Package: SEQTaRget 1.4.3

Ryan ODea

SEQTaRget: Sequential Trial Emulation

Implementation of sequential trial emulation for the analysis of observational databases. The 'SEQTaRget' software accommodates time-varying treatments and confounders, as well as binary and failure time outcomes. 'SEQTaRget' allows to compare both static and dynamic strategies, can be used to estimate observational analogs of intention-to-treat and per-protocol effects, and can adjust for potential selection bias induced by losses-to-follow-up. (Paper to come).

Authors:Ryan O'Dea [aut, cre], Alejandro Szmulewicz [aut], Tom Palmer [aut], Paul Madley-Dowd [aut], Miguel Hernán [aut], The President and Fellows of Harvard College [cph]

SEQTaRget_1.4.3.tar.gz
SEQTaRget_1.4.3.zip(r-4.7)SEQTaRget_1.4.3.zip(r-4.6)SEQTaRget_1.4.3.zip(r-4.5)
SEQTaRget_1.4.3.tgz(r-4.6-any)SEQTaRget_1.4.3.tgz(r-4.5-any)
SEQTaRget_1.4.3.tar.gz(r-4.7-any)SEQTaRget_1.4.3.tar.gz(r-4.6-any)
SEQTaRget_1.4.1.9000.tgz(r-4.5-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
SEQTaRget/json (API)

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

Bug tracker:https://github.com/causalinference/seqtarget/issues

Pkgdown/docs site:https://causalinference.github.io

Datasets:
  • SEQdata - Simulated observational example data for SEQuential
  • SEQdata.LTFU - Simulated lost-to-followup example data for 'SEQuential()'
  • SEQdata.multitreatment - Simulated multitreatment example data for 'SEQuential()' multinomial models

On CRAN:

Conda:

as-treatedbiostatisticscausal-inferenceepidemiologyinitiatorsintention-to-treatper-protocol

7.09 score 7 stars 22 scripts 537 downloads 15 exports 51 dependencies

Last updated from:05a20c5223. Checks:8 OK, 1 FAIL. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK307
source / vignettesOK242
linux-release-x86_64OK297
macos-release-arm64OK214
macos-oldrel-arm64OK241
windows-develOK332
windows-releaseOK323
windows-oldrelOK315
wasm-releaseFAIL153

Exports:compeventcovariatesdenominatordiagnosticshazard_ratiokm_curvekm_datanumeratoroutcomerisk_comparisonrisk_dataSEQ_dataSEQoptsSEQuentialshow

Dependencies:BHbigmemorybigmemory.sriclicodetoolscpp11data.tabledigestdoFuturedoRNGevaluatefarverfastglmforeachFormulafuturefuture.applyggplot2globalsgluegtablehighrisobanditeratorsknitrlabelinglatticelifecyclelistenvmagrittrMatrixparallellyparglmR6RColorBrewerRcppRcppArmadilloRcppEigenrlangrngtoolsS7scalesstringistringrsurvivaluuidvctrsviridisLitewithrxfunyaml

Defining your SEQopts()
Behind SEQopts() | The options | General Options | Weighting Options | Plot Options (km.curves = TRUE) | Special Cases | Internal Options

Last update: 2026-05-21
Started: 2025-09-05

Per-Protocol: Censoring Analysis
Per-protocol, censoring, weights in pre-expanded data and no truncation, no excused conditions (i.e. static interventions) | Per-protocol, censoring, weights in post-expanded data and no truncation, no excused conditions (i.e. static interventions) | Per-protocol, censoring, weights in pre-expanded data and no truncation, excused conditions for initiators and non-initiators (i.e. dynamic interventions) | Per-protocol, censoring, weights in post-expanded data and no truncation, excused conditions for initiators and non-initiators (i.e. dynamic interventions) | Per-protocol, censoring, weights in post-expanded data and no truncation, excused conditions for initiators and non-initiators (i.e. dynamic interventions) and a competing event | Per-protocol, censoring, weights in post-expanded data and no truncation, excused conditions for initiators and non-initiators (i.e. dynamic interventions) and hazard ratio

Last update: 2026-05-21
Started: 2025-09-05

Intention-To-Treat Analysis
ITT With 5 bootstrap samples | ITT with 5 bootstrap samples and losses-to-followup | ITT with 5 bootstrap samples and competing events | ITT hazard ratio with 5 bootstrap samples and competing events | ITT with 5 bootstrap samples and competing events in subgroups defined by sex

Last update: 2026-05-20
Started: 2025-09-05

Introduction to SEQuential
Setting up your Analysis | Step 1 - Defining your options | Step 2 - Running the Primary Function | Step 3 - Recovering your results

Last update: 2026-05-20
Started: 2025-09-05

Per-Protocol: Dose-Response Analysis
Dose-response With 5 bootstrap samples | Dose-response with 5 bootstrap samples and losses-to-followup | Dose-response with 5 bootstrap samples and competing events | Dose-response hazard ratio with 5 bootstrap samples and competing events | Dose-response with 5 bootstrap samples and competing events in subgroups defined by sex

Last update: 2026-05-20
Started: 2025-09-05