unadjusted_rmst: Compute unadjusted IPW and Kaplan-Meier estimators of RMST

View source: R/funs_rmst.R

unadjusted_rmstR Documentation

Compute unadjusted IPW and Kaplan-Meier estimators of RMST

Description

Compute unadjusted IPW and Kaplan-Meier estimators of RMST

Usage

unadjusted_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

Examples

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

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