Learn R Programming

TSDT (version 1.0.7)

diff_restricted_mean_survival_time: diff_restricted_mean_survival_time

Description

Computes the difference in restricted mean survival time across treatment arms.

Usage

diff_restricted_mean_survival_time(data, scoring_function_parameters = NULL)

Value

Difference in restricted mean survival time across treatment arms.

Arguments

data

data.frame containing response data

scoring_function_parameters

named list of scoring function control parameters

Details

Computes the restricted mean survival time for the treatment and control arms and returns the difference.

See Also

TSDT, Surv, rmst2