summary.flexsurvrtrunc {flexsurv} | R Documentation |
Summarise quantities of interest from fitted flexsurvrtrunc models
Description
This function extracts quantities of interest from the untruncated
version of a model with individual-specific right truncation points
fitted by flexsurvrtrunc
. Note that covariates are
currently not supported by flexsurvrtrunc
.
Usage
## S3 method for class 'flexsurvrtrunc'
summary(
object,
type = "survival",
fn = NULL,
t = NULL,
quantiles = 0.5,
ci = TRUE,
se = FALSE,
B = 1000,
cl = 0.95,
...
)
Arguments
object |
Output from |
type |
Ignored if |
fn |
Custom function of the parameters to summarise against time.
This has optional first argument |
t |
Times to calculate fitted values for. By default, these are the sorted unique observation (including censoring) times in the data - for left-truncated datasets these are the "stop" times. |
quantiles |
If |
ci |
Set to |
se |
Set to |
B |
Number of simulations from the normal asymptotic distribution of
the estimates used to calculate confidence intervals or standard errors.
Decrease for greater
speed at the expense of accuracy, or set |
cl |
Width of symmetric confidence intervals, relative to 1. |
... |
Further arguments passed to or from other methods. Currently unused. |