summary.cuminc2 | R Documentation |
cuminc2
summary methodcuminc2
summary method
## S3 method for class 'cuminc2'
summary(object, times = NULL, digits = 5L, ...)
object |
an object of class |
times |
a vector of times |
digits |
number of digits past the decimal point to keep |
... |
ignored |
A list with the following components:
est |
a matrix of estimates of the subdistributions for the
cumulative incidence model(s); see |
var |
a matrix giving the corresponding variances for the
cumulative incidence model(s); see |
events |
a matrix with the number of cumulative events up
to and including each value in |
total_events |
a vector giving the total number of events of each type (excluding censored observations) |
total_groups |
a vector giving the number by group (including censored observations) |
total_atrisk |
a vector giving the number remaining in the risk set regardless of event or censoring |
cuminc2
; print.cuminc2
;
timepoints
; timepoints2
ci <- cuminc2(Surv(futime, event(censored)) ~ sex, transplant)
summary(ci)
ci <- cuminc2(Surv(futime, event(censored)) ~ 1, transplant)
summary(ci, times = 0:10 * 100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.