Skip to contents

Calculates the standard error of the difference in restricted mean survival times

Usage

get_restricted_mean_se_diff(y, dead, w)

Arguments

y

Numeric vector of survival times.

dead

Integer vector of event indicators (1=event, 0=censored).

w

Integer vector of treatment assignments (1=treatment, 0=control).

Value

The standard error of the difference.