The stremr R package is a tool for estimation of causal survival curve under various user-specified interventions (e.g., static, dynamic, deterministic, or stochastic). In particular, the interventions may represent exposures to treatment regimens, the occurrence or non-occurrence of right-censoring events, or of clinical monitoring events. stremr enables estimation of a selected set of the user-specified causal quantities of interest, such as, treatment-specific survival curves and the average risk difference over time.
To see the package vignette use:
To see all available package documentation use:
help(package = 'stremr')
The following routines will be generally invoked by a user, in the same order as presented below.
One function for performing estimation
The following most common types of output are produced by the package:
observed data - input data.frame in long format (repeated measures over time).
Check for updates and report bugs at http://github.com/osofr/stremr.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.