Learn R Programming

Temporal (version 0.3.0.1)

ContrastRMSTs: Contrast RMSTs

Description

Compare the restricted mean survival times of the fitted distributions for two treatment arms.

Usage

ContrastRMSTs(fit1, fit0, sig = 0.05)

Value

Data.frame contrasting the difference and ratio of RMSTs at each time point.

Arguments

fit1

Fitted parametric survival distribution for arm 1.

fit0

Fitted parametric survival distribution for arm 0.

sig

Significance level, for