SEQTaRget1.0.0 package

Sequential Trial Emulation

clean_fastglm

Function to clean out non needed elements from fastglm return

compevent

Function to return competing event models from a SEQuential object

covariates

Retrieves Outcome, Numerator, and Denominator Covariates

create.default.covariates

Internal Function to create 'default' formula

create.default.LTFU.covariates

Internal Function to create 'default' loss-to-followup formula

create.default.weight.covariates

Internal Function to create 'default' weighting formula

create.risk

Internal function to pull Risk Ratio and Risk Difference from data whe...

denominator

Retrieves Denominator Models from SEQuential object

diagnostics

Function to return diagnostic tables from a SEQuential object

format.time

Nicely cleans time for readability

hazard_ratio

Function to return hazard ratios from a SEQuential object

inline.pred

Helper Function to inline predict a fastglm object

internal.analysis

Internal analysis tool for handling parallelization/bootstrapping on m...

internal.hazard

Generic function to format a dataset for hazard ratio calculation

internal.model

Internal function for fitting outcome models

internal.plot

Plotting for survival curves

internal.survival

Internal function for creating survival curves

internal.weights

Internal function for defining weights

km_curve

Function to print kaplan-meier curves

km_data

Function to return survival data from a SEQuential object

multinomial.predict

Helper to predict from the nested logistic

multinomial

Helper function for nested logistic

multinomial.summary

Helper function to get the summary table from multinomial

numerator

Retrieves Numerator Models from SEQuential object

outcome

Retrieves Outcome Models from SEQuential object

parameter.setter

Parameter Helper

parameter.simplifier

Simplifies parameters down for later use

prepare.data

Helper function to prepare data for fastglm

prepare.output

Output constructor

risk_comparison

Function to return risk information from a SEQuential object

risk_data

Function to return risk information from a SEQuential object

SEQ_data

Function to return the internal data from a SEQuential object

SEQestimate

Estimate the (very rough) time to run SEQuential analysis on current m...

SEQexpand

Creates an expanded dataset for use with SEQuential

SEQopts-class

An S4 class of user options to feed into the SEQuential processes and ...

SEQopts

Parameter Builder for SEQuential Model and Estimates

SEQoutput-class

An S4 class used to hold the outputs for the SEQuential process

SEQparams-class

An internal S4 class to carry around parameters during the SEQuential ...

SEQuential

SEQuential trial emulation

SEQweights-class

An internal S4 class to help transfer weight statistics out of `intern...

show-SEQoutput-method

Show method for S4 object - SEQoutput.

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).