Description Usage Arguments Value Examples
This function calculates an estimate of the RMST by generating a pseudovalue for each patient, and then fitting a GEE model to these pseudovalues with arm as a term in the model. The pseudovalues are generated using the function pseudomean from the package pseudo and the GEE is fit using the function geese from the package geepack. For further information see the pseudo or geepack documentation.
1 | rmstPseudo(formula, data, trunc, alpha = 0.05)
|
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 fitting a GEE to pseudovalues generated for each patient
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.