Description Usage Arguments Value Examples
This function calculates an estimate of the RMST by calculating the area under the KM curve in each arm. The calculations are done using a function from the survRM2
package, for further information see the survRM2
documentation.
1 |
formula |
A formula object, with the response on the left of a ~ operator, and the a single term for arm on the right. The response must be a survival object as returned by the Surv function. |
data |
A data.frame in which to interpret the variables named in the formula. |
trunc |
The time point to truncated the estimate of the RMST at. |
alpha |
The default is 0.05. (1-alpha) confidence intervals are reported. |
The Restricted Mean Survival Time computated by calculating the area under the KM curve for each arm.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.