unadjusted_prob: Compute unadjusted Kaplan-Meier estimators of survival...

View source: R/funs_prob.R

unadjusted_probR Documentation

Compute unadjusted Kaplan-Meier estimators of survival probability

Description

Compute unadjusted Kaplan-Meier estimators of survival probability

Usage

unadjusted_prob(data, tau)

Arguments

data

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

tau

A time of interest

Value

survival probability 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.