Description Usage Arguments Value
Method to calculate model restricted means
1 2 3 4 5 | calcModelRmst(object, ...)
## S4 method for signature 'SurvivalModel'
calcModelRmst(object, model, times,
class = c("data.frame", "FlexTable")[2], digits = 3, ...)
|
object |
(SurvivalModel) A survival model - note there cannot be any covariates and armAsFactor must be FALSE |
... |
additional arguments for this generic |
model |
(character) The name of the model for which to calculate the restricted mean |
times |
(nuermic vector) times to calculate the restricted mean |
class |
('data.frame' or "FlexTable' (default)) type of output required |
digits |
(numeric default=3) if outputting a FlexTable then the number of digits to round the entries to |
(data.frame or FlexTable)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.