aipw_rmst: Compute AIPW of RMST

View source: R/funs_rmst.R

aipw_rmstR Documentation

Compute AIPW of RMST

Description

Compute AIPW of RMST

Usage

aipw_rmst(data, tau)

Arguments

data

A long form data frame (e.g., the output of transformData*())

tau

A restriction time of interest

Value

RMST estimate for each treatment arm with influence function based standard error for the difference

Examples

# See example of tmle() for the creation of dlong
aipw_rmst(dlong, tau)

idiazst/survtmlerct documentation built on Aug. 28, 2023, 10:13 a.m.