Learn R Programming

TSDT (version 1.0.0)

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)

Arguments

data

data.frame containing response data

scoring_function_parameters

named list of scoring function control parameters

Value

Difference in restricted mean survival time across treatment arms.

Details

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

See Also

TSDT, Surv, rmst2